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