about summary refs log tree commit diff
path: root/src
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
commit14de94aec59bcd535f690e255a950ca76fcf2d5a (patch)
treed0d160bfa08ff9c8d6bc279aec5b7172e7ca6992 /src
parentadc24d1b5efb768a8e81ec5a26133f2351c4dd3f (diff)
downloadrust-14de94aec59bcd535f690e255a950ca76fcf2d5a.tar.gz
rust-14de94aec59bcd535f690e255a950ca76fcf2d5a.zip
Fix unclosed HTML tag in rustfmt doc
Diffstat (limited to 'src')
-rw-r--r--src/tools/rustfmt/src/config/config_type.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rustfmt/src/config/config_type.rs b/src/tools/rustfmt/src/config/config_type.rs
index e37ed798cb5..c5e61658ad1 100644
--- a/src/tools/rustfmt/src/config/config_type.rs
+++ b/src/tools/rustfmt/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;
 }