Skip to content

Commit c450b1e

Browse files
committed
Avoid deprecated function in example in README.
1 parent b80eee3 commit c450b1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ library is located.
1212
extern crate pkg_config;
1313

1414
fn main() {
15-
pkg_config::find_library("foo").unwrap();
15+
pkg_config::probe_library("foo").unwrap();
1616
}
1717
```
1818

0 commit comments

Comments
 (0)