Skip to content

Commit

Permalink
Update build.rs
Browse files Browse the repository at this point in the history
remove imports to resolve clippy::single_component_path_imports
  • Loading branch information
JoshuaNitschke authored and dginev committed Sep 29, 2020
1 parent 1f5093c commit 9109b36
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ fn main() {

#[cfg(feature = "pkg-config")]
mod pkg_config_dep {
use pkg_config;
pub fn find() -> bool {
if pkg_config::find_library("libxml-2.0").is_ok() {
return true;
Expand All @@ -34,7 +33,6 @@ mod pkg_config_dep {

#[cfg(feature = "vcpkg")]
mod vcpkg_dep {
use vcpkg;
pub fn find() -> bool {
if vcpkg::find_package("libxml2").is_ok() {
return true
Expand Down

0 comments on commit 9109b36

Please sign in to comment.