mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-11-08 09:09:17 +01:00
Merge pull request #2027 from yerke/patch-2
Fix formatting in strings4.rs
This commit is contained in:
commit
48697b8225
@ -4,6 +4,7 @@ fn placeholder() {}
|
|||||||
fn string_slice(arg: &str) {
|
fn string_slice(arg: &str) {
|
||||||
println!("{arg}");
|
println!("{arg}");
|
||||||
}
|
}
|
||||||
|
|
||||||
fn string(arg: String) {
|
fn string(arg: String) {
|
||||||
println!("{arg}");
|
println!("{arg}");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user