diff --git a/rash_core/src/modules/copy.rs b/rash_core/src/modules/copy.rs index 76a4d54d..c47d0da6 100644 --- a/rash_core/src/modules/copy.rs +++ b/rash_core/src/modules/copy.rs @@ -106,12 +106,11 @@ enum Content { Bytes(Vec), } -// Implement std::fmt::Display for Content impl fmt::Display for Content { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { match self { Content::Str(s) => write!(f, "{}", s), - Content::Bytes(b) => write!(f, "{:?}", b), + Content::Bytes(_) => Ok(()), } } }