about summary refs log tree commit diff
diff options
context:
space:
mode:
authorElisha Hollander <just4now666666@gmail.com>2024-04-17 22:16:59 +0300
committerGitHub <noreply@github.com>2024-04-17 22:16:59 +0300
commite06f90fc5130c10970ace5c7c3804c3b44082c9d (patch)
tree487afd4d6914a13e159d2a5114cd0603b461153c
parent8d0870899cf72fc4e1ff6d6e1e3457218d7da555 (diff)
downloadrust-e06f90fc5130c10970ace5c7c3804c3b44082c9d.tar.gz
rust-e06f90fc5130c10970ace5c7c3804c3b44082c9d.zip
format style.rs
-rw-r--r--src/tools/tidy/src/style.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/tidy/src/style.rs b/src/tools/tidy/src/style.rs
index fb5cde4b111..14a6fe957da 100644
--- a/src/tools/tidy/src/style.rs
+++ b/src/tools/tidy/src/style.rs
@@ -113,7 +113,7 @@ fn generate_problematic_strings(
 ) -> Vec<String> {
     generate_problems(consts, letter_digit)
         .flat_map(|v| vec![v.to_string(), format!("{:x}", v), format!("{:X}", v)])
-	    .collect()
+        .collect()
 }
 
 const INTERNAL_COMPILER_DOCS_LINE: &str = "#### This error code is internal to the compiler and will not be emitted with normal Rust code.";
@@ -316,7 +316,7 @@ pub fn check(path: &Path, bad: &mut bool) {
         ROOT_PROBLEMATIC_CONSTS,
         &[('A', '4'), ('B', '8'), ('E', '3')].iter().cloned().collect(),
     );
-	let problematic_regex = RegexSet::new(problematic_consts_strings.as_slice()).unwrap();
+    let problematic_regex = RegexSet::new(problematic_consts_strings.as_slice()).unwrap();
 
     walk(path, skip, &mut |entry, contents| {
         let file = entry.path();