From 06a3776548b8c81226ef61715e5a2e98e29799c9 Mon Sep 17 00:00:00 2001 From: Ferris Tseng Date: Sat, 30 Dec 2017 20:07:29 -0500 Subject: clippy and formatting --- ipfs-cli/src/command/dns.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ipfs-cli/src/command/dns.rs') 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!(); } -- cgit v1.2.3