bolts: fix build warning with missing doc comment for haiku (#2455)

This commit is contained in:
David CARLIER 2024-07-28 21:21:06 +01:00 committed by GitHub
parent 6df1b34375
commit bab50f23c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -482,6 +482,7 @@ pub fn dump_registers<W: Write>(
Ok(()) Ok(())
} }
/// Write the content of all important registers
#[cfg(all(target_os = "haiku", target_arch = "x86_64"))] #[cfg(all(target_os = "haiku", target_arch = "x86_64"))]
#[allow(clippy::similar_names)] #[allow(clippy::similar_names)]
pub fn dump_registers<W: Write>( pub fn dump_registers<W: Write>(