about summary refs log tree commit diff
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2024-09-09 23:23:15 +0800
committerGitHub <noreply@github.com>2024-09-09 11:23:15 -0400
commit91b2c17ffb0f0e34e586fabff47d915c5caeed95 (patch)
tree2ec05783f3e8ee52d6c505e031d5f5cfbee56b63
parentd720a7ef77f76670d2275952e81e9ae6b2556638 (diff)
downloadrust-91b2c17ffb0f0e34e586fabff47d915c5caeed95.tar.gz
rust-91b2c17ffb0f0e34e586fabff47d915c5caeed95.zip
Add missing backtick in comment (#6317)
Signed-off-by: cuishuang <imcusg@gmail.com>
-rw-r--r--src/config/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/mod.rs b/src/config/mod.rs
index d35a249a80a..80515077abd 100644
--- a/src/config/mod.rs
+++ b/src/config/mod.rs
@@ -448,7 +448,7 @@ pub fn load_config<O: CliOptions>(
     })
 }
 
-// Check for the presence of known config file names (`rustfmt.toml, `.rustfmt.toml`) in `dir`
+// Check for the presence of known config file names (`rustfmt.toml`, `.rustfmt.toml`) in `dir`
 //
 // Return the path if a config file exists, empty if no file exists, and Error for IO errors
 fn get_toml_path(dir: &Path) -> Result<Option<PathBuf>, Error> {