Continue writing report

This commit is contained in:
Marko Korhonen 2020-05-02 21:11:26 +03:00
parent bc3fe77c93
commit f36c9fef60
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
22 changed files with 266 additions and 165 deletions

10
tex/code/ownership.rs Normal file
View file

@ -0,0 +1,10 @@
fn say_hello(name: String) {
println!("Hello {}!", name);
}
fn main() {
let name = String::from("Marko");
say_hello(name);
println!("{}", name);
}