chore: make clippy happy (#7045)

Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
This commit is contained in:
Delweng
2024-03-08 20:54:40 +08:00
committed by GitHub
parent 43bb4ccbba
commit ed0dce85e0
2 changed files with 4 additions and 5 deletions

View File

@@ -153,12 +153,11 @@ pub mod rpc {
#[cfg(all(unix, any(target_env = "gnu", target_os = "macos")))]
pub mod sigsegv_handler;
/// Signal handler to extract a backtrace from stack overflow.
///
/// This is a no-op because this platform doesn't support our signal handler's requirements.
#[cfg(not(all(unix, any(target_env = "gnu", target_os = "macos"))))]
pub mod sigsegv_handler {
//! Signal handler to extract a backtrace from stack overflow.
//!
//! This is a no-op because this platform doesn't support our signal handler's requirements.
/// No-op function.
pub fn install() {}
}