Skip to content

Commit 12d6533

Browse files
ghenrydjc
authored andcommitted
Remove extern crate example in docs.
1 parent 72369d3 commit 12d6533

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
Simple Rust library to generate X.509 certificates.
88

99
```Rust
10-
extern crate rcgen;
1110
use rcgen::{generate_simple_self_signed, CertifiedKey};
1211
// Generate a certificate that's valid for "localhost" and "hello.world.example"
1312
let subject_alt_names = vec!["hello.world.example".to_string(),

rcgen/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ a key pair to call [`CertificateParams::signed_by()`] or [`CertificateParams::se
1414
## Example
1515
1616
```
17-
extern crate rcgen;
1817
use rcgen::{generate_simple_self_signed, CertifiedKey};
1918
# fn main () {
2019
// Generate a certificate that's valid for "localhost" and "hello.world.example"

0 commit comments

Comments
 (0)