Skip to content

Commit 6bc7ac9

Browse files
mischnicloewenheim
andauthored
chore: Fix 1.88.0 clippy lints (#5)
cherry pick getsentry#130 Co-authored-by: Sebastian Zivota <loewenheim@users.noreply.github.com>
1 parent 72e82b1 commit 6bc7ac9

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

src/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ impl fmt::Display for Error {
125125
Error::InvalidRamBundleEntry => write!(f, "invalid ram bundle module entry"),
126126
Error::NotARamBundle => write!(f, "not a ram bundle"),
127127
Error::InvalidRangeMappingIndex(err) => write!(f, "invalid range mapping index: {err}"),
128-
Error::InvalidBase64(c) => write!(f, "invalid base64 character: {}", c),
128+
Error::InvalidBase64(c) => write!(f, "invalid base64 character: {c}"),
129129
}
130130
}
131131
}

src/types.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -564,10 +564,7 @@ impl SourceMap {
564564
let mut buf = vec![];
565565
encode(self, &mut buf)?;
566566
let b64 = base64_simd::STANDARD.encode_to_string(&buf);
567-
Ok(format!(
568-
"data:application/json;charset=utf-8;base64,{}",
569-
b64
570-
))
567+
Ok(format!("data:application/json;charset=utf-8;base64,{b64}"))
571568
}
572569

573570
/// Creates a sourcemap from a reader over a JSON byte slice in UTF-8

0 commit comments

Comments
 (0)