diff options
author | Ferris Tseng <ferristseng@fastmail.fm> | 2017-12-30 20:07:29 -0500 |
---|---|---|
committer | Ferris Tseng <ferristseng@fastmail.fm> | 2017-12-30 20:07:29 -0500 |
commit | 06a3776548b8c81226ef61715e5a2e98e29799c9 (patch) | |
tree | 2b9ad5ea6b7e82b3fa9eb1bb17305957f2038b9b /ipfs-cli/src/command/dns.rs | |
parent | 59cf5824d43b4df1054bb633a4fe1c3cb8602c42 (diff) |
clippy and formatting
Diffstat (limited to 'ipfs-cli/src/command/dns.rs')
-rw-r--r-- | ipfs-cli/src/command/dns.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ipfs-cli/src/command/dns.rs b/ipfs-cli/src/command/dns.rs index e9ab0fa..c40f61b 100644 --- a/ipfs-cli/src/command/dns.rs +++ b/ipfs-cli/src/command/dns.rs @@ -24,10 +24,10 @@ pub fn signature<'a, 'b>() -> App<'a, 'b> { pub fn handle(core: &mut Core, client: &IpfsClient, args: &ArgMatches) { let path = args.value_of("PATH").unwrap(); - let req = client.dns(&path, args.is_present("recursive")); + let req = client.dns(path, args.is_present("recursive")); let res = core.run(req).expect(EXPECTED_API); - println!(""); + println!(); println!(" path : {}", res.path); - println!(""); + println!(); } |