mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 07:17:27 +00:00
refactor: clippy fixs
This commit is contained in:
parent
bedd277027
commit
b1e42f9023
4 changed files with 13 additions and 13 deletions
|
|
@ -304,7 +304,7 @@ fn output_result_bson_base64<T: serde::Serialize>(result: T) {
|
|||
if let bson::Bson::Document(document) = bson {
|
||||
let bytes = bson::to_vec(&document).unwrap();
|
||||
|
||||
println!("{}", base64::prelude::BASE64_STANDARD.encode(&bytes));
|
||||
println!("{}", base64::prelude::BASE64_STANDARD.encode(bytes));
|
||||
} else {
|
||||
panic!("Failed to convert result to BSON Base64");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue