From 63d8d4ff29e9c65ea7fe41ca89338fa95ecf470d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Thu, 4 Oct 2018 13:42:39 +0100 Subject: [PATCH] rustfmt config --- rustfmt.toml | 1 + src/main.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 rustfmt.toml diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..6bbbff1 --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1 @@ +max_width = 128 diff --git a/src/main.rs b/src/main.rs index 60db4e5..6fcd6f9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -120,11 +120,11 @@ mod rustback { let restore_engine = RestoreEngine::new(&repository.path(), &restore_target.path()); restore_engine.restore()?; - let are_source_and_target_different = - is_different(&source.path(), &restore_target.path()).unwrap(); + let are_source_and_target_different = is_different(&source.path(), &restore_target.path()).unwrap(); assert!(!are_source_and_target_different); Ok(()) } + } }