fix typo
This commit is contained in:
parent
b01ca532d7
commit
2a170a4406
|
@ -34,7 +34,9 @@ fn main() {
|
|||
fn main() {
|
||||
let mut s = String::from("hello, ");
|
||||
|
||||
borrow_object(s)
|
||||
borrow_object(s);
|
||||
|
||||
println!("Success!")
|
||||
}
|
||||
|
||||
fn borrow_object(s: &String) {}
|
||||
|
|
Loading…
Reference in New Issue