aboutsummaryrefslogtreecommitdiff
path: root/dev_tools/src/bin/refresh-feature-mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'dev_tools/src/bin/refresh-feature-mod.rs')
-rw-r--r--dev_tools/src/bin/refresh-feature-mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev_tools/src/bin/refresh-feature-mod.rs b/dev_tools/src/bin/refresh-feature-mod.rs
index 6265e15..2255dbc 100644
--- a/dev_tools/src/bin/refresh-feature-mod.rs
+++ b/dev_tools/src/bin/refresh-feature-mod.rs
@@ -41,7 +41,7 @@ fn gen_feature_module() {
let template_str = template.to_string();
let template_str = template_str
.lines()
- .map(|line| line.trim_end())
+ .map(str::trim_end)
.collect::<Vec<_>>()
.join("\n")
+ "\n";