Skip to content

Commit f276ebc

Browse files
authored
Merge pull request #158 from newAM/master
postprocess: fix mismatched_lifetime_syntaxes warning
2 parents 3a79306 + 8904082 commit f276ebc

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)