Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #[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);
- }
Add Comment
Please, Sign In to add comment