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 /strings | |
| parent | c4b32528457063b0b97da37617c2a9ff652a4cba (diff) | |
Added filename to top of .rs files
Diffstat (limited to 'strings')
| -rw-r--r-- | strings/strings1.rs | 1 | ||||
| -rw-r--r-- | strings/strings2.rs | 1 | ||||
| -rw-r--r-- | strings/strings3.rs | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/strings/strings1.rs b/strings/strings1.rs index 2bfbba2..2e5088f 100644 --- a/strings/strings1.rs +++ b/strings/strings1.rs @@ -1,3 +1,4 @@ +// strings1.rs // Make me compile without changing the function signature! Scroll down for hints :) fn main() { diff --git a/strings/strings2.rs b/strings/strings2.rs index 286a4f8..4239ff8 100644 --- a/strings/strings2.rs +++ b/strings/strings2.rs @@ -1,3 +1,4 @@ +// strings2.rs // Make me compile without changing the function signature! Scroll down for hints :) fn main() { diff --git a/strings/strings3.rs b/strings/strings3.rs index a4e5775..b6f6a1e 100644 --- a/strings/strings3.rs +++ b/strings/strings3.rs @@ -1,3 +1,4 @@ +// strings3.rs // Ok, here are a bunch of values-- some are `Strings`, some are `&strs`. Your // task is to call one of these two functions on each value depending on what // you think each value is. That is, add either `string_slice` or `string` |
