diff --git a/src/error.rs b/src/error.rs index 470c0f6..673fc8b 100644 --- a/src/error.rs +++ b/src/error.rs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -use hyper; use std::fmt; use std::path::PathBuf; use std::sync::Arc; diff --git a/src/main.rs b/src/main.rs index 98dbb68..3546a17 100644 --- a/src/main.rs +++ b/src/main.rs @@ -224,7 +224,7 @@ fn check_url(url: &Url) -> Result<(), LinkError> { } fn check_path( - root: &PathBuf, + root: &Path, target: &str, file: &Path, allow_absolute_paths: bool,