Drop quick-xml buffer

This commit is contained in:
blank X 2021-01-07 16:01:33 +07:00
parent 648e6cc919
commit 1d8fac0bd4
3 changed files with 3 additions and 2 deletions

2
Cargo.lock generated
View File

@ -188,7 +188,7 @@ checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04"
[[package]] [[package]]
name = "holocal" name = "holocal"
version = "0.1.3" version = "0.1.4"
dependencies = [ dependencies = [
"quick-xml", "quick-xml",
"reqwest", "reqwest",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "holocal" name = "holocal"
version = "0.1.3" version = "0.1.4"
authors = ["blank X <theblankx@protonmail.com>"] authors = ["blank X <theblankx@protonmail.com>"]
edition = "2018" edition = "2018"

View File

@ -152,6 +152,7 @@ fn main() {
}; };
buf.clear(); buf.clear();
} }
drop(buf);
println!("{}", title.unwrap()); println!("{}", title.unwrap());
let mut args = view_image_command.to_vec().split_off(1); let mut args = view_image_command.to_vec().split_off(1);
let url = url.unwrap(); let url = url.unwrap();