Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Fix lints #1561

Merged
merged 1 commit into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pub struct CacheLookupResult<'a> {
pub relative_addr: Option<u64>,
}

impl<'a> CacheLookupResult<'a> {
impl CacheLookupResult<'_> {
/// The preferred [`AddrMode`] for this lookup.
///
/// For the symbolicated frame, we generally switch to absolute reporting of addresses. This is
Expand Down
2 changes: 1 addition & 1 deletion crates/symbolicator-proguard/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ struct ProguardInner<'a> {
impl<'slf, 'a: 'slf> AsSelf<'slf> for ProguardInner<'a> {
type Ref = ProguardInner<'slf>;

fn as_self(&'slf self) -> &Self::Ref {
fn as_self(&'slf self) -> &'slf Self::Ref {
self
}
}
Expand Down
2 changes: 1 addition & 1 deletion crates/symbolicator-service/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ impl Config {
#[derive(Debug)]
struct LevelFilterVisitor;

impl<'de> de::Visitor<'de> for LevelFilterVisitor {
impl de::Visitor<'_> for LevelFilterVisitor {
type Value = LevelFilter;

fn expecting(&self, formatter: &mut fmt::Formatter) -> std::fmt::Result {
Expand Down
2 changes: 1 addition & 1 deletion crates/symbolicator-service/src/utils/hex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ impl<'de> Deserialize<'de> for HexValue {
{
struct HexVisitor;

impl<'de> de::Visitor<'de> for HexVisitor {
impl de::Visitor<'_> for HexVisitor {
type Value = HexValue;

fn expecting(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
Expand Down
Loading