Skip to content

Commit

Permalink
fix: remove usage of legacy constant
Browse files Browse the repository at this point in the history
  • Loading branch information
statiolake committed Apr 29, 2024
1 parent cb981b9 commit 2e564aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion proconio/src/lib.rs
Expand Up @@ -930,7 +930,7 @@ mod tests {
#[should_panic]
fn input_min_as_isize1() {
use crate::marker::Isize1;
let min_string = std::isize::MIN.to_string();
let min_string = isize::MIN.to_string();
let mut source = AutoSource::from(&*min_string);
input! {
from &mut source,
Expand Down
2 changes: 1 addition & 1 deletion proconio/src/marker.rs
Expand Up @@ -58,7 +58,7 @@ impl Readable for Isize1 {
"attempted to read the value {} as a Isize1:",
" the value is isize::MIN and cannot be decremented"
),
std::isize::MIN,
isize::MIN,
)
})
}
Expand Down

0 comments on commit 2e564aa

Please sign in to comment.