Skip to content

Commit bcccda0

Browse files
committed
remove extern crate pkg_config from examples
No longer needed as of Rust 2018
1 parent 53922c4 commit bcccda0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/lib.rs

-6
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@
3838
//! Find the system library named `foo`, with minimum version 1.2.3:
3939
//!
4040
//! ```no_run
41-
//! extern crate pkg_config;
42-
//!
4341
//! fn main() {
4442
//! pkg_config::Config::new().atleast_version("1.2.3").probe("foo").unwrap();
4543
//! }
@@ -49,8 +47,6 @@
4947
//! recommended):
5048
//!
5149
//! ```no_run
52-
//! extern crate pkg_config;
53-
//!
5450
//! fn main() {
5551
//! pkg_config::probe_library("foo").unwrap();
5652
//! }
@@ -59,8 +55,6 @@
5955
//! Configure how library `foo` is linked to.
6056
//!
6157
//! ```no_run
62-
//! extern crate pkg_config;
63-
//!
6458
//! fn main() {
6559
//! pkg_config::Config::new().atleast_version("1.2.3").statik(true).probe("foo").unwrap();
6660
//! }

0 commit comments

Comments
 (0)