mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-08-12 06:24:44 +00:00
according to the idea of gtm-nayan #144, add println!("Success") for each exercise
This commit is contained in:
@@ -84,6 +84,8 @@ fn main() {
|
||||
let s1 = s;
|
||||
|
||||
s1.push_str("world")
|
||||
|
||||
println!("Success!")
|
||||
}
|
||||
```
|
||||
|
||||
@@ -98,6 +100,8 @@ fn main() {
|
||||
*y = 4;
|
||||
|
||||
assert_eq!(*x, 5);
|
||||
|
||||
println!("Success!")
|
||||
}
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user