diff options
Diffstat (limited to 'ipfs-api/examples/add_tar.rs')
-rw-r--r-- | ipfs-api/examples/add_tar.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ipfs-api/examples/add_tar.rs b/ipfs-api/examples/add_tar.rs index 0a1582c..401c61d 100644 --- a/ipfs-api/examples/add_tar.rs +++ b/ipfs-api/examples/add_tar.rs @@ -6,8 +6,8 @@ // copied, modified, or distributed except according to those terms. // -extern crate ipfs_api; extern crate futures; +extern crate ipfs_api; extern crate tar; extern crate tokio_core; @@ -33,9 +33,9 @@ fn main() { { let mut builder = Builder::new(&mut buf); - builder.append_path(file!()).expect( - "failed to create tar file", - ); + builder + .append_path(file!()) + .expect("failed to create tar file"); builder.finish().expect("failed to create tar file"); } |