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 0c57ad4 commit f86433bCopy full SHA for f86433b
src/utils/parse.rs
@@ -165,8 +165,7 @@ where
165
let s = unsafe { std::str::from_utf8_unchecked(&token[1..]) };
166
index = s
167
.parse::<usize>()
168
- .map_err(|_| ParseVectorError::BadParsing { position })?
169
- - 1;
+ .map_err(|_| ParseVectorError::BadParsing { position })?;
170
token.clear();
171
} else {
172
return Err(ParseVectorError::TooShortNumber { position });
0 commit comments