Guest User

Untitled

a guest
Jan 15th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #[test]
  2. fn build_computer_test() {
  3. let computer = build_computer("apple".to_string(), "abcde-100".to_string());
  4. let copy_cat = Computer{
  5. name: "Capple".to_string(),
  6. ..computer
  7. };
  8. println!("{:?}", copy_cat);
  9. }
Add Comment
Please, Sign In to add comment