diagnostic: ignore non-relevant clippy lint
@@ -77,5 +77,7 @@ fn getrlimit(resource: RlimitResource) -> Result<u64, DiagnosticError> {
let retcode = unsafe { libc::getrlimit(resource, &mut limits as *mut rlimit) };
nix::errno::Errno::result(retcode).map_err(DiagnosticError::UnixError)?;
+ // Ignore this lint because `.into()` is required to build on 32-bit platforms.
+ #[allow(clippy::useless_conversion)]
Ok(limits.rlim_cur.into())
}
