aboutsummaryrefslogtreecommitdiff
path: root/tools/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-07-30 13:32:19 +0100
committerAleksey Kladov <[email protected]>2018-07-30 13:32:19 +0100
commitd39198490f878a9ae395af1cf923fb7375de4548 (patch)
tree5e8d63e20abc8c293e6ba80f0391f9119989aa35 /tools/src
parent333e140a50658151002c9287aa68855358bedd56 (diff)
fn ret type
Diffstat (limited to 'tools/src')
-rw-r--r--tools/src/bin/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/src/bin/main.rs b/tools/src/bin/main.rs
index 125930127..f4f6e82ae 100644
--- a/tools/src/bin/main.rs
+++ b/tools/src/bin/main.rs
@@ -55,6 +55,7 @@ fn update(path: &Path, contents: &str, verify: bool) -> Result<()> {
55 if verify { 55 if verify {
56 bail!("`{}` is not up-to-date", path.display()); 56 bail!("`{}` is not up-to-date", path.display());
57 } 57 }
58 eprintln!("updating {}", path.display());
58 fs::write(path, contents)?; 59 fs::write(path, contents)?;
59 Ok(()) 60 Ok(())
60} 61}