From f1982f670e61d16394cafb23903eb5543cdbef09 Mon Sep 17 00:00:00 2001 From: Lynne Date: Wed, 29 Sep 2021 23:32:19 +1000 Subject: [PATCH] cargo update --- .idea/scopes/Default.xml | 3 +++ .idea/vcs.xml | 1 - Cargo.lock | 4 ++-- src/mime_db.rs | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 .idea/scopes/Default.xml diff --git a/.idea/scopes/Default.xml b/.idea/scopes/Default.xml new file mode 100644 index 0000000..bacb6fd --- /dev/null +++ b/.idea/scopes/Default.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml index ef8c41b..94a25f7 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -2,6 +2,5 @@ - \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index b53291b..c3bd0f9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -297,9 +297,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.102" +version = "0.2.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2a5ac8f984bfcf3a823267e5fde638acc3325f6496633a5da6bb6eb2171e103" +checksum = "dd8f7255a17a627354f321ef0055d63b898c6fb27eff628af4d1b66b7331edf6" [[package]] name = "log" diff --git a/src/mime_db.rs b/src/mime_db.rs index d0f91b8..1482ef8 100644 --- a/src/mime_db.rs +++ b/src/mime_db.rs @@ -53,7 +53,7 @@ cfg_if! { info.add("application/x-msi", "msi", |buf| { buf.starts_with(b"\xd0\xcf\x11\xe0\xa1\xb1\x1a\xe1") - }) + }); info.add("image/svg+xml", "svg", |buf| { // before doing the moderately expensive SVG check, we should make sure that the input is actually SGML-ish,