commit:
1.去除缓冲池 2.数据处理改为同步方法 3.fmt
This commit is contained in:
+2
-5
@@ -214,11 +214,8 @@ fn main() {
|
||||
return;
|
||||
}
|
||||
|
||||
let cipher_model = match matches
|
||||
.opt_get::<CipherModel>("model") {
|
||||
Ok(model) => {
|
||||
model.unwrap_or(CipherModel::AesGcm)
|
||||
}
|
||||
let cipher_model = match matches.opt_get::<CipherModel>("model") {
|
||||
Ok(model) => model.unwrap_or(CipherModel::AesGcm),
|
||||
Err(e) => {
|
||||
println!("'--model ' invalid,{}", e);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user