From b6444f471fa432ea6fd3039e04a9fdc2b2c6dac6 Mon Sep 17 00:00:00 2001 From: Yonas Yanfa Date: Mon, 26 Feb 2024 12:35:12 -0500 Subject: [PATCH] fix: error: the item TryFrom is imported redundantly #317 (#318) This should fix #317 for Rust nightly. --- src/cors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cors.rs b/src/cors.rs index d618532..4a1233b 100644 --- a/src/cors.rs +++ b/src/cors.rs @@ -13,7 +13,7 @@ use headers::{ HeaderMapExt, HeaderName, HeaderValue, Origin, }; use http::header; -use std::{collections::HashSet, convert::TryFrom}; +use std::collections::HashSet; /// It defines CORS instance. #[derive(Clone, Debug)] -- libgit2 1.7.2