Skip to content

Commit e3192e6

Browse files
Fix lint violations
1 parent 325ef58 commit e3192e6

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/api/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1468,7 +1468,7 @@ pub struct FetchEventsOptions<'a> {
14681468
pub sort: &'a str,
14691469
}
14701470

1471-
impl<'a> FetchEventsOptions<'a> {
1471+
impl FetchEventsOptions<'_> {
14721472
/// Generate query parameters as a vector of strings
14731473
pub fn to_query_params(&self) -> Vec<String> {
14741474
let mut params = vec![format!("dataset={}", QueryArg(self.dataset.as_str()))];

src/commands/dart_symbol_map/upload.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@ struct DartSymbolMapObject<'a> {
2020
debug_id: DebugId,
2121
}
2222

23-
impl<'a> AsRef<[u8]> for DartSymbolMapObject<'a> {
23+
impl AsRef<[u8]> for DartSymbolMapObject<'_> {
2424
fn as_ref(&self) -> &[u8] {
2525
self.bytes
2626
}
2727
}
2828

29-
impl<'a> Display for DartSymbolMapObject<'a> {
29+
impl Display for DartSymbolMapObject<'_> {
3030
fn fmt(&self, f: &mut Formatter<'_>) -> FmtResult {
3131
write!(f, "dartsymbolmap {}", self.name)
3232
}
3333
}
3434

35-
impl<'a> Assemblable for DartSymbolMapObject<'a> {
35+
impl Assemblable for DartSymbolMapObject<'_> {
3636
fn name(&self) -> Cow<'_, str> {
3737
Cow::Borrowed(self.name)
3838
}

src/utils/sourcemaps/inject.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ impl InjectReportBuilder {
106106
&& self.skipped_sourcemaps.is_empty()
107107
}
108108

109-
pub fn into_report<'a>(self, sourcefiles: &'a SourceFiles) -> InjectReport<'a> {
109+
pub fn into_report(self, sourcefiles: &SourceFiles) -> InjectReport<'_> {
110110
InjectReport {
111111
inner: self,
112112
sourcefiles,

0 commit comments

Comments
 (0)