Add import to make i32::MAX available on rustc <1.43

#110
This commit is contained in:
David Tolnay 2020-11-20 11:55:43 -08:00
parent 1969f03a6e
commit a789be4219
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@
//! which may be arbitrary expressions. For example: //! which may be arbitrary expressions. For example:
//! //!
//! ```rust //! ```rust
//! # use std::i32;
//! # use thiserror::Error; //! # use thiserror::Error;
//! # //! #
//! #[derive(Error, Debug)] //! #[derive(Error, Debug)]