Skip to content

Commit 21f40b0

Browse files
authored
Update build.rs (#792)
std::path::Path is imported for use towards the bottom of the example. No point in using a fully qualified path
1 parent f1a3e12 commit 21f40b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ use crate::{CheckoutNotificationType, DiffFile, FileMode, Remote};
2828
/// Cred::ssh_key(
2929
/// username_from_url.unwrap(),
3030
/// None,
31-
/// std::path::Path::new(&format!("{}/.ssh/id_rsa", env::var("HOME").unwrap())),
31+
/// Path::new(&format!("{}/.ssh/id_rsa", env::var("HOME").unwrap())),
3232
/// None,
3333
/// )
3434
/// });

0 commit comments

Comments
 (0)