Removing last char from command line.

Last char is EOF char.
This commit is contained in:
Frederic Jacobs
2016-04-04 21:12:17 +02:00
parent 3ca43e7977
commit 62234cc2df

View File

@ -103,7 +103,8 @@ fn perform_encode_from_io(k: u8, n: u8) -> io::Result<()> {
Some(format!("My limit is at {} bytes.", limit)))); Some(format!("My limit is at {} bytes.", limit))));
} }
} }
tmp tmp.pop();
tmp
}; };
match lib::generate_shares(k, n, secret) { match lib::generate_shares(k, n, secret) {
Ok(shares) => { Ok(shares) => {