aboutsummaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/hbb_common/build.rs5
-rw-r--r--libs/hbb_common/src/fs.rs2
2 files changed, 2 insertions, 5 deletions
diff --git a/libs/hbb_common/build.rs b/libs/hbb_common/build.rs
index 225ec34..5feda67 100644
--- a/libs/hbb_common/build.rs
+++ b/libs/hbb_common/build.rs
@@ -5,10 +5,7 @@ fn main() {
.out_dir("src/protos")
.inputs(&["protos/rendezvous.proto", "protos/message.proto"])
.include("protos")
- .customize(
- protobuf_codegen::Customize::default()
- .tokio_bytes(true)
- )
+ .customize(protobuf_codegen::Customize::default().tokio_bytes(true))
.run()
.expect("Codegen failed.");
}
diff --git a/libs/hbb_common/src/fs.rs b/libs/hbb_common/src/fs.rs
index fec8b86..570fad8 100644
--- a/libs/hbb_common/src/fs.rs
+++ b/libs/hbb_common/src/fs.rs
@@ -847,4 +847,4 @@ pub fn is_write_need_confirmation(
} else {
Ok(DigestCheckResult::NoSuchFile)
}
-}
+} \ No newline at end of file