mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 00:00:03 +03:00
fix(test2): name of type String and &str (#394)
This commit is contained in:
parent
9f75554f2a
commit
d6c0a688e6
|
@ -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