Skip to content

Commit

Permalink
remove to_owned methods. PartialEq already correct asserting strings (
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemIsmagilov authored Jan 6, 2025
1 parent 0edddc2 commit 9e71995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ async fn main() -> Result<()> {
.await?
.to()?;
assert_eq!(vec!["value1".to_owned(), "value2".to_owned(), "value3".to_owned(), "value4".to_owned()], values);
assert_eq!(vec!["value1", "value2", "value3", "value4"], values);
Ok(())
}
Expand Down

0 comments on commit 9e71995

Please sign in to comment.