diff options
| author | Robert Lugg <robert.lugg@gmail.com> | 2018-02-21 22:09:53 -0800 |
|---|---|---|
| committer | Robert Lugg <robert.lugg@gmail.com> | 2018-02-21 22:09:53 -0800 |
| commit | 7d7a48b17dfb9d61b50eeced84f74e0d1f755b9c (patch) | |
| tree | 30e9ef080ed6c31e5f6c12711d5fd1baf8ef404d /move_semantics | |
| parent | c4b32528457063b0b97da37617c2a9ff652a4cba (diff) | |
Added filename to top of .rs files
Diffstat (limited to 'move_semantics')
| -rw-r--r-- | move_semantics/move_semantics1.rs | 1 | ||||
| -rw-r--r-- | move_semantics/move_semantics2.rs | 1 | ||||
| -rw-r--r-- | move_semantics/move_semantics3.rs | 1 | ||||
| -rw-r--r-- | move_semantics/move_semantics4.rs | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/move_semantics/move_semantics1.rs b/move_semantics/move_semantics1.rs index a69ff90..1f28873 100644 --- a/move_semantics/move_semantics1.rs +++ b/move_semantics/move_semantics1.rs @@ -1,3 +1,4 @@ +// move_semantics1.rs // Make me compile! Scroll down for hints :) pub fn main() { diff --git a/move_semantics/move_semantics2.rs b/move_semantics/move_semantics2.rs index 79c1c56..6e676d1 100644 --- a/move_semantics/move_semantics2.rs +++ b/move_semantics/move_semantics2.rs @@ -1,3 +1,4 @@ +// move_semantics2.rs // Make me compile without changing line 9! Scroll down for hints :) pub fn main() { diff --git a/move_semantics/move_semantics3.rs b/move_semantics/move_semantics3.rs index fec370f..7805d44 100644 --- a/move_semantics/move_semantics3.rs +++ b/move_semantics/move_semantics3.rs @@ -1,3 +1,4 @@ +// move_semantics3.rs // Make me compile without adding new lines-- just changing existing lines! // (no lines with multiple semicolons necessary!) // Scroll down for hints :) diff --git a/move_semantics/move_semantics4.rs b/move_semantics/move_semantics4.rs index 17df426..2b1ed8a 100644 --- a/move_semantics/move_semantics4.rs +++ b/move_semantics/move_semantics4.rs @@ -1,3 +1,4 @@ +// move_semantics4.rs // Refactor this code so that instead of having `vec0` and creating the vector // in `fn main`, we instead create it within `fn fill_vec` and transfer the // freshly created vector from fill_vec to its caller. Scroll for hints! |
