Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

format(rome_*): format rust doc comments #2573

Merged
merged 3 commits into from
May 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion crates/rome_cli/src/bin/rome.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ use rome_cli::{run_cli, setup_panic_handler, CliSession, Termination};
/// ```bash
/// cargo run --example run_cli format examples/input.json
/// ```
///
fn main() -> Result<(), Termination> {
setup_panic_handler();
run_cli(CliSession::from_env())
Expand Down
5 changes: 4 additions & 1 deletion crates/rome_console/src/fmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,11 @@ impl<'fmt> Formatter<'fmt> {
/// # Example
/// Implementing `Display` on a custom struct
/// ```
/// use rome_console::{
/// fmt::{Display, Formatter},
/// markup,
/// };
/// use std::io;
/// use rome_console::{fmt::{Display, Formatter}, markup};
///
/// struct Warning(String);
///
Expand Down
Loading