Skip to content

Commit a6b218b

Browse files
committed
remember upcoming PR making work-around obsolete
1 parent a962804 commit a6b218b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/mission.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,9 +365,12 @@ mod tests {
365365

366366
#[test]
367367
fn test_enc_opt_parser() {
368-
//let pie = ParseIntError {kind: std::num::InvalidDigit} //is private
368+
// The following work-around will become obsolete with the upcoming
369+
// [Make `ParseIntError` and `IntErrorKind` fully public ·
370+
// Pull Request #55705](https://github.com/rust-lang/rust/pull/55705/files)
371+
// let pie = ParseIntError {kind: std::num::InvalidDigit} //is private
369372
let pie_invalid_digit = CliError::Format(u32::from_str("x").unwrap_err());
370-
//let pie = ParseIntError {kind: std::num::Overflow} //is private
373+
// let pie = ParseIntError {kind: std::num::Overflow} //is private
371374
let pie_overflow = CliError::Format(u8::from_str("257").unwrap_err());
372375

373376
assert_eq!(

0 commit comments

Comments
 (0)