Skip to content

Commit

Permalink
remove extern crate pkg_config from examples
Browse files Browse the repository at this point in the history
No longer needed as of Rust 2018
  • Loading branch information
Be-ing committed Oct 22, 2022
1 parent b491557 commit d6422df
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@
//! Find the system library named `foo`, with minimum version 1.2.3:
//!
//! ```no_run
//! extern crate pkg_config;
//!
//! fn main() {
//! pkg_config::Config::new().atleast_version("1.2.3").probe("foo").unwrap();
//! }
Expand All @@ -49,8 +47,6 @@
//! recommended):
//!
//! ```no_run
//! extern crate pkg_config;
//!
//! fn main() {
//! pkg_config::probe_library("foo").unwrap();
//! }
Expand All @@ -59,8 +55,6 @@
//! Configure how library `foo` is linked to.
//!
//! ```no_run
//! extern crate pkg_config;
//!
//! fn main() {
//! pkg_config::Config::new().atleast_version("1.2.3").statik(true).probe("foo").unwrap();
//! }
Expand Down

0 comments on commit d6422df

Please sign in to comment.