Skip to content

Commit 5ea6388

Browse files
committed
Remove docs about const_eval_limit
It has been removed in recent Rust releases, and replaced with a printed warning: rust-lang/rust#103877
1 parent 3b73e08 commit 5ea6388

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/lib.rs

-9
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,6 @@
5656
//! pub const MODULUS_SHR1: U256 = MODULUS.shr(1);
5757
//! ```
5858
//!
59-
//! Note that large constant computations may accidentally trigger a the `const_eval_limit` of the compiler.
60-
//! The current way to deal with this problem is to either simplify this computation,
61-
//! or increase the compiler's limit (currently a nightly feature).
62-
//! One can completely remove the compiler's limit using:
63-
//! ```ignore
64-
//! #![feature(const_eval_limit)]
65-
//! #![const_eval_limit = "0"]
66-
//! ```
67-
//!
6859
//! ### Trait-based usage
6960
//!
7061
//! The [`Uint`] type itself does not implement the standard arithmetic traits

0 commit comments

Comments
 (0)