From ebfe3e8d80d8d3722791658e9353f370b2737a05 Mon Sep 17 00:00:00 2001 From: Daniel O'Brien Date: Fri, 21 Jan 2022 16:46:08 +0000 Subject: [PATCH] Update build.rs std::path::Path is imported for use towards the bottom of the example. No point in using a fully qualified path --- src/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build.rs b/src/build.rs index 72e40ced5c..5b5cd15a31 100644 --- a/src/build.rs +++ b/src/build.rs @@ -28,7 +28,7 @@ use crate::{CheckoutNotificationType, DiffFile, FileMode, Remote}; /// Cred::ssh_key( /// username_from_url.unwrap(), /// None, -/// std::path::Path::new(&format!("{}/.ssh/id_rsa", env::var("HOME").unwrap())), +/// Path::new(&format!("{}/.ssh/id_rsa", env::var("HOME").unwrap())), /// None, /// ) /// });