Skip to content

Commit 573681d

Browse files
bors[bot]cuviper
andauthored
Merge #131
131: Remove outdated `extern crate` docs r=cuviper a=cuviper bors r+ Co-authored-by: Josh Stone <[email protected]>
2 parents d182c71 + 9c417a7 commit 573681d

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

README.md

-6
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ Add this to your `Cargo.toml`:
1616
num-bigint = "0.3"
1717
```
1818

19-
and this to your crate root:
20-
21-
```rust
22-
extern crate num_bigint;
23-
```
24-
2519
## Features
2620

2721
The `std` crate feature is enabled by default, and is mandatory before Rust

src/lib.rs

-6
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@
1919
//! ## Example
2020
//!
2121
//! ```rust
22-
//! extern crate num_bigint;
23-
//! extern crate num_traits;
24-
//!
2522
//! # fn main() {
2623
//! use num_bigint::BigUint;
2724
//! use num_traits::{Zero, One};
@@ -47,9 +44,6 @@
4744
//! It's easy to generate large random numbers:
4845
//!
4946
//! ```rust,ignore
50-
//! extern crate rand;
51-
//! extern crate num_bigint;
52-
//!
5347
//! use num_bigint::{ToBigInt, RandBigInt};
5448
//!
5549
//! let mut rng = rand::thread_rng();

0 commit comments

Comments
 (0)