mirror of
https://github.com/mii443/RustySecrets.git
synced 2025-08-22 16:25:32 +00:00
Removing last char from command line.
Last char is EOF char.
This commit is contained in:
@ -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) => {
|
||||||
|
Reference in New Issue
Block a user