summaryrefslogtreecommitdiffstats
path: root/src/tools/replace-version-placeholder
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/replace-version-placeholder')
-rw-r--r--src/tools/replace-version-placeholder/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/replace-version-placeholder/src/main.rs b/src/tools/replace-version-placeholder/src/main.rs
index 33b35d054..0aebfc4aa 100644
--- a/src/tools/replace-version-placeholder/src/main.rs
+++ b/src/tools/replace-version-placeholder/src/main.rs
@@ -10,7 +10,7 @@ fn main() {
let version_str = version_str.trim();
walk::walk(
&root_path,
- &mut |path| {
+ |path, _is_dir| {
walk::filter_dirs(path)
// We exempt these as they require the placeholder
// for their operation