mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 04:29:41 +00:00
fix typo
This commit is contained in:
@ -221,5 +221,7 @@ fn my_function(x: Box<dyn MyTrait>) {
|
|||||||
fn main() {
|
fn main() {
|
||||||
my_function(Box::new(13_u32));
|
my_function(Box::new(13_u32));
|
||||||
my_function(Box::new(String::from("abc")));
|
my_function(Box::new(String::from("abc")));
|
||||||
|
|
||||||
|
println!("Success!")
|
||||||
}
|
}
|
||||||
```
|
```
|
Reference in New Issue
Block a user