remove __Incomplete ErrorKind due to using #[non_exhaustive]
@@ -48,8 +48,6 @@ pub enum ErrorKind {
Unsupported,
/// overflow when computing offset, length, etc.
Overflow,
- #[doc(hidden)]
- __Incomplete,
}
#[inline(always)]
@@ -82,7 +80,6 @@ impl fmt::Display for ShapeError {
ErrorKind::OutOfBounds => "out of bounds indexing",
ErrorKind::Unsupported => "unsupported operation",
ErrorKind::Overflow => "arithmetic overflow",
- ErrorKind::__Incomplete => "this error variant is not in use",
};
write!(f, "ShapeError/{:?}: {}", self.kind(), description)
}
