mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-26 07:14:17 -05:00
fix(test2): name of type String and &str (#394)
This commit is contained in:
parent
9f75554f2a
commit
d6c0a688e6
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
// This is a test for the following sections:
|
// This is a test for the following sections:
|
||||||
// - Strings
|
// - Strings
|
||||||
|
|
||||||
// Ok, here are a bunch of values-- some are `Strings`, some are `&strs`. Your
|
// Ok, here are a bunch of values-- some are `String`s, some are `&str`s. Your
|
||||||
// task is to call one of these two functions on each value depending on what
|
// 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`
|
// you think each value is. That is, add either `string_slice` or `string`
|
||||||
// before the parentheses on each line. If you're right, it will compile!
|
// before the parentheses on each line. If you're right, it will compile!
|
||||||
|
|
Loading…
Reference in a new issue