Skip to content

Commit

Permalink
Remove docs about const_eval_limit
Browse files Browse the repository at this point in the history
It has been removed in recent Rust releases, and replaced with a printed
warning:

rust-lang/rust#103877
  • Loading branch information
tarcieri committed Dec 28, 2023
1 parent 3b73e08 commit 5ea6388
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,6 @@
//! pub const MODULUS_SHR1: U256 = MODULUS.shr(1);
//! ```
//!
//! Note that large constant computations may accidentally trigger a the `const_eval_limit` of the compiler.
//! The current way to deal with this problem is to either simplify this computation,
//! or increase the compiler's limit (currently a nightly feature).
//! One can completely remove the compiler's limit using:
//! ```ignore
//! #![feature(const_eval_limit)]
//! #![const_eval_limit = "0"]
//! ```
//!
//! ### Trait-based usage
//!
//! The [`Uint`] type itself does not implement the standard arithmetic traits
Expand Down

0 comments on commit 5ea6388

Please sign in to comment.