Remove redundant impl Display for OneOrMany
// SPDX-License-Identifier: Apache-2.0
use core::fmt::Debug;
-use core::fmt::Display;
use core::fmt::Formatter;
use core::hash::Hash;
@@ -114,19 +113,6 @@ where
}
}
-impl<T> Display for OneOrMany<T>
-where
- T: Display,
- Vec<T>: Display,
-{
- fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result {
- match self {
- Self::One(inner) => Display::fmt(inner, f),
- Self::Many(inner) => Display::fmt(inner, f),
- }
- }
-}
-
impl<T> Deref for OneOrMany<T> {
type Target = [T];
