summaryrefslogtreecommitdiffstats
path: root/vendor/zerovec/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/zerovec/src/error.rs')
-rw-r--r--vendor/zerovec/src/error.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/zerovec/src/error.rs b/vendor/zerovec/src/error.rs
index 457a0d650..85de3ecc8 100644
--- a/vendor/zerovec/src/error.rs
+++ b/vendor/zerovec/src/error.rs
@@ -22,10 +22,10 @@ impl fmt::Display for ZeroVecError {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> Result<(), fmt::Error> {
match *self {
ZeroVecError::InvalidLength { ty, len } => {
- write!(f, "Invalid length {} for slice of type {}", len, ty)
+ write!(f, "Invalid length {len} for slice of type {ty}")
}
ZeroVecError::ParseError { ty } => {
- write!(f, "Could not parse bytes to slice of type {}", ty)
+ write!(f, "Could not parse bytes to slice of type {ty}")
}
ZeroVecError::VarZeroVecFormatError => {
write!(f, "Invalid format for VarZeroVec buffer")