about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2022-10-10 18:29:17 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2022-10-10 18:29:17 +0200
commit7cc303fbf62f6a058064fc07026231a8a5ee533f (patch)
treec70cd1bf55ae5032280bb4a58244f4e0e67eaa86
parentd71413cbfae7a8c7fb7d2534f7240915161ce46a (diff)
downloadrust-7cc303fbf62f6a058064fc07026231a8a5ee533f.tar.gz
rust-7cc303fbf62f6a058064fc07026231a8a5ee533f.zip
Fix unclosed HTML tag in rustfmt doc
-rw-r--r--src/config/config_type.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/config_type.rs b/src/config/config_type.rs
index e37ed798cb5..c5e61658ad1 100644
--- a/src/config/config_type.rs
+++ b/src/config/config_type.rs
@@ -4,7 +4,7 @@ use crate::config::options::{IgnoreList, WidthHeuristics};
 /// Trait for types that can be used in `Config`.
 pub(crate) trait ConfigType: Sized {
     /// Returns hint text for use in `Config::print_docs()`. For enum types, this is a
-    /// pipe-separated list of variants; for other types it returns "<type>".
+    /// pipe-separated list of variants; for other types it returns `<type>`.
     fn doc_hint() -> String;
 }