From d338d245e7589d8eb58b60c75d7639c248491a82 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Thu, 2 Jun 2016 21:03:11 -0400 Subject: it is the job of drop to clean up --- src/client.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/client.rs') diff --git a/src/client.rs b/src/client.rs index eb5205a..acc3425 100644 --- a/src/client.rs +++ b/src/client.rs @@ -84,8 +84,6 @@ pub fn run_client(host: &str, local_file: &str, remote_file: &str, remote_is_dir common::source_files(&mut stream, local_file, remote_is_dir) } } - // XXX: does Drop do this well enough? - //stream.close().unwrap(); } fn usage_client(opts: Options) { @@ -183,7 +181,4 @@ pub fn main_client() { exit(-1); } } - - // XXX: does Drop do this well enough? - //stream.close().unwrap(); } -- cgit v1.2.3