Skip to content

Commit fd08cff

Browse files
committed
Resolve compilation warnings on Windows.
1 parent 3c543e3 commit fd08cff

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/process.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -732,23 +732,23 @@ mod noop {
732732
let _ = args;
733733
}
734734

735-
pub fn with_pid_file(mut self, _: ConfigPath) -> Self {
735+
pub fn with_pid_file(self, _: ConfigPath) -> Self {
736736
self
737737
}
738738

739-
pub fn with_working_dir(mut self, _: ConfigPath) -> Self {
739+
pub fn with_working_dir(self, _: ConfigPath) -> Self {
740740
self
741741
}
742742

743-
pub fn with_chroot(mut self, _: ConfigPath) -> Self {
743+
pub fn with_chroot(self, _: ConfigPath) -> Self {
744744
self
745745
}
746746

747-
pub fn with_user(mut self, _: &str) -> Result<Self, String> {
747+
pub fn with_user(self, _: &str) -> Result<Self, String> {
748748
Ok(self)
749749
}
750750

751-
pub fn with_group(mut self, _: &str) -> Result<Self, String> {
751+
pub fn with_group(self, _: &str) -> Result<Self, String> {
752752
Ok(self)
753753
}
754754
}

0 commit comments

Comments
 (0)