mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-25 00:00:05 +03: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 a new issue