Fix dangling module comments (#7456)

This commit is contained in:
Micha Reiser 2023-09-17 16:56:41 +02:00 committed by GitHub
parent 959338d39d
commit 26ae0a6e8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 58 additions and 32 deletions

View file

@ -440,7 +440,7 @@ pub type FormatResult<F> = Result<F, FormatError>;
/// let paragraph = Paragraph(String::from("test"));
/// let formatted = format!(SimpleFormatContext::default(), [paragraph])?;
///
/// assert_eq!("test\n", formatted.print()?.as_code());
/// assert_eq!("\ntest\n", formatted.print()?.as_code());
/// # Ok(())
/// # }
/// ```