We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fac0fa3 commit cb6bc12Copy full SHA for cb6bc12
src/query_result.rs
@@ -21,7 +21,7 @@ impl QueryResult {
21
String::from_utf8(buf.to_vec()).map_err(Error::NonUtf8Sequence)
22
}
23
24
- pub fn data_utf8_lossy(&self) -> Cow<str> {
+ pub fn data_utf8_lossy(&self) -> Cow<'_, str> {
25
String::from_utf8_lossy(self.data_ref())
26
27
0 commit comments