fixed some formatting

This commit is contained in:
RyuuSleek 2022-11-13 04:55:57 +00:00 committed by GitHub
parent 1a5bdaaf77
commit 8329fff047
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -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)
}
```