Fix `clippy::doc_lazy_continuation` lints

This commit is contained in:
Bruce Mitchener 2024-08-06 09:20:49 +07:00
parent bf5aa3742f
commit 9284776a08
2 changed files with 16 additions and 16 deletions

View File

@ -28,9 +28,9 @@ diagnostic error code: ruget::api::bad_json
" /> " />
> **NOTE: You must enable the `"fancy"` crate feature to get fancy report > **NOTE: You must enable the `"fancy"` crate feature to get fancy report
output like in the screenshots above.** You should only do this in your > output like in the screenshots above.** You should only do this in your
toplevel crate, as the fancy feature pulls in a number of dependencies that > toplevel crate, as the fancy feature pulls in a number of dependencies that
libraries and such might not want. > libraries and such might not want.
### Table of Contents <!-- omit in toc --> ### Table of Contents <!-- omit in toc -->
@ -288,9 +288,9 @@ There are also similar [bail!] and [ensure!] macros.
automatically. automatically.
> **NOTE:** You must enable the `"fancy"` crate feature to get fancy report > **NOTE:** You must enable the `"fancy"` crate feature to get fancy report
output like in the screenshots here.** You should only do this in your > output like in the screenshots here.** You should only do this in your
toplevel crate, as the fancy feature pulls in a number of dependencies that > toplevel crate, as the fancy feature pulls in a number of dependencies that
libraries and such might not want. > libraries and such might not want.
```rust ```rust
use miette::{IntoDiagnostic, Result}; use miette::{IntoDiagnostic, Result};
@ -645,8 +645,8 @@ customize!
If you... If you...
- ...don't know all the possible errors upfront - ...don't know all the possible errors upfront
- ...need to serialize/deserialize errors - ...need to serialize/deserialize errors
then you may want to use [`miette!`], [`diagnostic!`] macros or then you may want to use [`miette!`], [`diagnostic!`] macros or
[`MietteDiagnostic`] directly to create diagnostic on the fly. [`MietteDiagnostic`] directly to create diagnostic on the fly.
```rust ```rust

View File

@ -28,9 +28,9 @@
//! " /> //! " />
//! //!
//! > **NOTE: You must enable the `"fancy"` crate feature to get fancy report //! > **NOTE: You must enable the `"fancy"` crate feature to get fancy report
//! output like in the screenshots above.** You should only do this in your //! > output like in the screenshots above.** You should only do this in your
//! toplevel crate, as the fancy feature pulls in a number of dependencies that //! > toplevel crate, as the fancy feature pulls in a number of dependencies that
//! libraries and such might not want. //! > libraries and such might not want.
//! //!
//! ## Table of Contents <!-- omit in toc --> //! ## Table of Contents <!-- omit in toc -->
//! //!
@ -288,9 +288,9 @@
//! automatically. //! automatically.
//! //!
//! > **NOTE:** You must enable the `"fancy"` crate feature to get fancy report //! > **NOTE:** You must enable the `"fancy"` crate feature to get fancy report
//! output like in the screenshots here.** You should only do this in your //! > output like in the screenshots here.** You should only do this in your
//! toplevel crate, as the fancy feature pulls in a number of dependencies that //! > toplevel crate, as the fancy feature pulls in a number of dependencies that
//! libraries and such might not want. //! > libraries and such might not want.
//! //!
//! ```rust //! ```rust
//! use miette::{IntoDiagnostic, Result}; //! use miette::{IntoDiagnostic, Result};
@ -645,8 +645,8 @@
//! If you... //! If you...
//! - ...don't know all the possible errors upfront //! - ...don't know all the possible errors upfront
//! - ...need to serialize/deserialize errors //! - ...need to serialize/deserialize errors
//! then you may want to use [`miette!`], [`diagnostic!`] macros or //! then you may want to use [`miette!`], [`diagnostic!`] macros or
//! [`MietteDiagnostic`] directly to create diagnostic on the fly. //! [`MietteDiagnostic`] directly to create diagnostic on the fly.
//! //!
//! ```rust,ignore //! ```rust,ignore
//! # use miette::{miette, LabeledSpan, Report}; //! # use miette::{miette, LabeledSpan, Report};