Skip to content

Commit

Permalink
Address the lints
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanUkhov committed Oct 3, 2024
1 parent c67b9d3 commit 4bbf1ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google-apis-common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ where

#[doc(hidden)]
pub fn to_string(bytes: &hyper::body::Bytes) -> std::borrow::Cow<'_, str> {
String::from_utf8_lossy(&bytes)
String::from_utf8_lossy(bytes)
}

#[doc(hidden)]
Expand Down

0 comments on commit 4bbf1ee

Please sign in to comment.