From 8ae68f9879a26ebc5be9900f52495e6b2482bd94 Mon Sep 17 00:00:00 2001 From: Pylogmon Date: Tue, 19 Sep 2023 01:05:09 +0800 Subject: [PATCH] Update --- anki.svg | 1 + lingva.svg | 188 ----------------------------------------------------- src/lib.rs | 2 +- 3 files changed, 2 insertions(+), 189 deletions(-) create mode 100644 anki.svg delete mode 100644 lingva.svg diff --git a/anki.svg b/anki.svg new file mode 100644 index 0000000..9f81442 --- /dev/null +++ b/anki.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/lingva.svg b/lingva.svg deleted file mode 100644 index d5a9bf7..0000000 --- a/lingva.svg +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/lib.rs b/src/lib.rs index b91ef6a..9f06e23 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,7 +9,7 @@ pub fn collection( needs: HashMap, ) -> Result> { let client = reqwest::blocking::ClientBuilder::new().build()?; - let mut port = match needs.get("port") { + let port = match needs.get("port") { Some(port) => port.to_string(), None => "8765".to_string(), };