Skip to content

Commit

Permalink
Merge pull request #254 from dave-tucker/clippy
Browse files Browse the repository at this point in the history
clippy: Fix lint against latest nightly
  • Loading branch information
alessandrod committed May 6, 2022
2 parents 4afc5ea + cdaa3af commit e71e07f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aya/src/programs/probe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ pub(crate) fn attach<T: Link + From<PerfLink>>(
pub(crate) fn detach_debug_fs(kind: ProbeKind, event_alias: &str) -> Result<(), ProgramError> {
use ProbeKind::*;

let _ = match kind {
match kind {
KProbe | KRetProbe => delete_probe_event(kind, event_alias)
.map_err(|(filename, io_error)| KProbeError::FileError { filename, io_error })?,
UProbe | URetProbe => delete_probe_event(kind, event_alias)
Expand Down

0 comments on commit e71e07f

Please sign in to comment.