From fcb718527960b5bef4d88d9c71f057ab1b076c3c Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Fri, 12 Aug 2022 14:44:23 +0200 Subject: [PATCH] Disable "broken intra doc links" lint --- src/uucore/src/lib/macros.rs | 4 +++- src/uucore/src/lib/mods/error.rs | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/uucore/src/lib/macros.rs b/src/uucore/src/lib/macros.rs index 255ccd5b3..cdb3affb5 100644 --- a/src/uucore/src/lib/macros.rs +++ b/src/uucore/src/lib/macros.rs @@ -1,3 +1,5 @@ +// TODO fix broken links +#![allow(rustdoc::broken_intra_doc_links)] //! Macros for the uucore utilities. //! //! This module bundles all macros used across the uucore utilities. These @@ -28,7 +30,7 @@ //! - Terminate util execution //! - Crash program: [`crash!`], [`crash_if_err!`] -// spell-checker:ignore sourcepath targetpath +// spell-checker:ignore sourcepath targetpath rustdoc use std::sync::atomic::AtomicBool; diff --git a/src/uucore/src/lib/mods/error.rs b/src/uucore/src/lib/mods/error.rs index 1af6ef781..bec760871 100644 --- a/src/uucore/src/lib/mods/error.rs +++ b/src/uucore/src/lib/mods/error.rs @@ -1,3 +1,5 @@ +// TODO fix broken links +#![allow(rustdoc::broken_intra_doc_links)] //! All utils return exit with an exit code. Usually, the following scheme is used: //! * `0`: succeeded //! * `1`: minor problems @@ -48,7 +50,7 @@ //! * Using [`ExitCode`] is not recommended but can be useful for converting utils to use //! [`UResult`]. -// spell-checker:ignore uioerror +// spell-checker:ignore uioerror rustdoc use clap; use std::{