Skip to content

Commit

Permalink
Add import to make i32::MAX available on rustc <1.43
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Nov 20, 2020
1 parent 1969f03 commit a789be4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
//! which may be arbitrary expressions. For example:
//!
//! ```rust
//! # use std::i32;
//! # use thiserror::Error;
//! #
//! #[derive(Error, Debug)]
Expand Down

0 comments on commit a789be4

Please sign in to comment.