Skip to content

Commit 8904082

Browse files
committed
postprocess: fix mismatched_lifetime_syntaxes warning
This warning appears in rustc 1.89
1 parent 3a79306 commit 8904082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/postprocess.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pub fn demangle(bytes: &[u8]) -> Cow<'_, [u8]> {
2323
}
2424

2525
// This pass turns the addresses in the output of `size -A` into hexadecimal format
26-
pub fn size(bytes: &[u8]) -> Cow<[u8]> {
26+
pub fn size(bytes: &[u8]) -> Cow<'_, [u8]> {
2727
if let Ok(text) = str::from_utf8(bytes) {
2828
let mut s = text
2929
.lines()

0 commit comments

Comments
 (0)