mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-09-29 02:03:29 +00:00
Swap name and dir to stay consistent with the info file
This commit is contained in:
+1
-1
@@ -66,8 +66,8 @@ fn run_bin(
|
||||
|
||||
/// See `info_file::ExerciseInfo`
|
||||
pub struct Exercise {
|
||||
pub dir: Option<&'static str>,
|
||||
pub name: &'static str,
|
||||
pub dir: Option<&'static str>,
|
||||
/// Path of the exercise file starting with the `exercises/` directory.
|
||||
pub path: String,
|
||||
pub canonical_path: Option<String>,
|
||||
|
||||
Reference in New Issue
Block a user