We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2589ace commit 21cd997Copy full SHA for 21cd997
src/algorithm/mod.rs
@@ -67,7 +67,7 @@ pub enum SizeError {
67
impl fmt::Display for SizeError {
68
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
69
match self {
70
- SizeError::Overflow => write!(f, "Array size calculation overflowed"),
+ SizeError::Overflow => write!(f, "Resulting array would be too large"),
71
SizeError::TooLarge(size) => write!(f, "Array of {size} elements would be too large"),
72
}
73
0 commit comments