summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFerris Tseng <ferristseng@fastmail.fm>2018-01-23 18:38:45 -0500
committerFerris Tseng <ferristseng@fastmail.fm>2018-01-23 18:38:45 -0500
commitd0d091965cc298a3789639e2d1239bdcf77cdde8 (patch)
tree91323b14a9e7aa36998592a45e6579252f86c70d
parent248340a3a999366e7f603a1eeb7b314e601af407 (diff)
formatting
-rw-r--r--ipfs-cli/src/command/filestore.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/ipfs-cli/src/command/filestore.rs b/ipfs-cli/src/command/filestore.rs
index 0665a79..c60e0ce 100644
--- a/ipfs-cli/src/command/filestore.rs
+++ b/ipfs-cli/src/command/filestore.rs
@@ -59,9 +59,9 @@ pub fn handle(core: &mut Core, client: &IpfsClient, args: &ArgMatches) {
}
("ls", Some(args)) => {
let cid = args.value_of("CID");
- let req = client.filestore_ls(&cid).for_each(
- |res| print_filestore_object(&res),
- );
+ let req = client
+ .filestore_ls(&cid)
+ .for_each(|res| print_filestore_object(&res));
println!();
core.run(req).expect(EXPECTED_API);