From a900166e27f3fe1fa192e41ebd0e2315fa06f835 Mon Sep 17 00:00:00 2001 From: Antoine Stevan <44101798+amtoine@users.noreply.github.com> Date: Sun, 21 Apr 2024 17:53:53 +0200 Subject: [PATCH] fix typo in the documentation of `nuon::ToStyle` (#12608) follow-up to - https://github.com/nushell/nushell/pull/12591 cc/ @fdncred # Description there was a typo in the doc of `nuon::ToStyle`. # User-Facing Changes # Tests + Formatting # After Submitting --- crates/nuon/src/to.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nuon/src/to.rs b/crates/nuon/src/to.rs index 3e93a8f3c6..8e9ce71f58 100644 --- a/crates/nuon/src/to.rs +++ b/crates/nuon/src/to.rs @@ -12,7 +12,7 @@ use std::ops::Bound; pub enum ToStyle { /// no indentation at all /// - /// `{ a: 1, b: 2 }` will be converted to `{: 1, b: 2}` + /// `{ a: 1, b: 2 }` will be converted to `{a: 1, b: 2}` Raw, #[allow(clippy::tabs_in_doc_comments)] /// tabulation-based indentation