Rustfix codemod

Summary:
Apply fixes from `./common/rust/tools/rustfix2/scripts/rustfix_codemod`

Then check any remaining lints highlighted and adjust code to correct them.

Reviewed By: zertosh

Differential Revision: D52975050

fbshipit-source-id: b52d4d84557c78110543d250a40173208fca17ca
This commit is contained in:
Cameron Pickett 2024-01-25 07:02:52 -08:00 committed by Facebook GitHub Bot
parent b102b3bf49
commit 06f05e10f4
3 changed files with 0 additions and 4 deletions

View file

@ -37,4 +37,3 @@ pub use inferior::StoppedInferior;
pub use regs::CoreRegs;
pub use request::GdbRequest;
pub use server::GdbServer;
pub use session::Session;

View file

@ -15,5 +15,3 @@ mod x86_64;
pub use aarch64::CoreRegs;
#[cfg(target_arch = "x86_64")]
pub use x86_64::CoreRegs;
#[cfg(target_arch = "x86_64")]
pub use x86_64::ExtraRegs;

View file

@ -30,7 +30,6 @@ use lazy_static::lazy_static;
use nix::sys::signal::Signal;
use nix::unistd::sysconf;
use nix::unistd::SysconfVar;
pub use perf::perf_event_header;
use perf_event_open_sys::bindings as perf;
use perf_event_open_sys::ioctls;
use reverie::Errno;