aboutsummaryrefslogtreecommitdiff
path: root/crates/tools
diff options
context:
space:
mode:
Diffstat (limited to 'crates/tools')
-rw-r--r--crates/tools/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/tools/src/lib.rs b/crates/tools/src/lib.rs
index 2795afe0b..6f96b8120 100644
--- a/crates/tools/src/lib.rs
+++ b/crates/tools/src/lib.rs
@@ -29,7 +29,7 @@ pub fn collect_tests(s: &str) -> Vec<(usize, Test)> {
29 let prefix = "// "; 29 let prefix = "// ";
30 let comment_blocks = s 30 let comment_blocks = s
31 .lines() 31 .lines()
32 .map(str::trim_left) 32 .map(str::trim_start)
33 .enumerate() 33 .enumerate()
34 .group_by(|(_idx, line)| line.starts_with(prefix)); 34 .group_by(|(_idx, line)| line.starts_with(prefix));
35 35