fixed some formatting
This commit is contained in:
parent
1a5bdaaf77
commit
8329fff047
|
@ -89,8 +89,8 @@ fn main() {
|
|||
let s1 = String::from("hello,");
|
||||
let s2 = String::from("world!");
|
||||
let s3 = s1 + s2;
|
||||
assert_eq!(s3,"hello,world!");
|
||||
println!("{}",s1);
|
||||
assert_eq!(s3, "hello,world!");
|
||||
println!("{}", s1);
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -107,7 +107,7 @@ fn main() {
|
|||
}
|
||||
|
||||
fn greetings(s: String) {
|
||||
println!("{}",s)
|
||||
println!("{}", s)
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue