From a990de90fe41456a23e58bd087d2f107d321f3a1 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 19 Jul 2024 16:37:58 +0400 Subject: Deleted vendor folder --- vendor/smallvec/src/specialization.rs | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 vendor/smallvec/src/specialization.rs (limited to 'vendor/smallvec/src/specialization.rs') diff --git a/vendor/smallvec/src/specialization.rs b/vendor/smallvec/src/specialization.rs deleted file mode 100644 index 658fa77..0000000 --- a/vendor/smallvec/src/specialization.rs +++ /dev/null @@ -1,19 +0,0 @@ -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - -//! Implementations that require `default fn`. - -use super::{Array, SmallVec, SpecFrom}; - -impl<'a, A: Array> SpecFrom for SmallVec -where - A::Item: Clone, -{ - #[inline] - default fn spec_from(slice: &'a [A::Item]) -> SmallVec { - slice.into_iter().cloned().collect() - } -} -- cgit v1.2.3