Skip to content

Commit

Permalink
Removed unnecessary borrows.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Tashjian committed Sep 14, 2021
1 parent 356a343 commit ba8b3e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust-lib/tests/email_address_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ fn test_clone() {
}

// ensure it exists after the source is dropped
assert_eq!(&"foo", &actual.get_local_part());
assert_eq!(&"bar.com", &actual.get_domain());
assert_eq!("foo", actual.get_local_part());
assert_eq!("bar.com", actual.get_domain());
}

0 comments on commit ba8b3e0

Please sign in to comment.