aboutsummaryrefslogtreecommitdiff
path: root/src/remote/git.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/remote/git.rs')
-rw-r--r--src/remote/git.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/remote/git.rs b/src/remote/git.rs
index 912d8c1..3290793 100644
--- a/src/remote/git.rs
+++ b/src/remote/git.rs
@@ -30,7 +30,7 @@ impl super::Remote for Git {
.map_err(|_| Error::new(Other, "Invalid time"))?
.as_millis();
- let commit_name = format!("blog-sync-up-{}", timestamp);
+ let commit_name = format!("blog-sync-up-{timestamp}");
let command_arguments = vec![
vec!["init", "-b", "main"],
vec!["add", "."],
@@ -40,7 +40,7 @@ impl super::Remote for Git {
for arguments in command_arguments {
Command::new("git")
- .current_dir(&directory)
+ .current_dir(directory)
.args(&arguments)
.stdout(Stdio::null())
.stderr(Stdio::null())
@@ -61,7 +61,7 @@ impl super::Remote for Git {
for arguments in command_arguments {
Command::new("git")
- .current_dir(&directory)
+ .current_dir(directory)
.args(&arguments)
.stdout(Stdio::null())
.stderr(Stdio::null())