Created
January 15, 2019 16:04
-
-
Save leopard627/8b2b087feff4ca86737de28016effc3d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[test] | |
fn build_computer_test() { | |
let computer = build_computer("apple".to_string(), "abcde-100".to_string()); | |
let copy_cat = Computer{ | |
name: "Capple".to_string(), | |
..computer | |
}; | |
println!("{:?}", copy_cat); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment