Skip to content

Commit bd285af

Browse files
committed
Update forgotten arg types.
1 parent 830edfb commit bd285af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/builder.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ impl SecurityContextBuilder {
108108
self
109109
}
110110

111-
pub fn proc_mount(&mut self, value: String) -> &mut Self {
112-
self.security_context.proc_mount = Some(value);
111+
pub fn proc_mount(&mut self, value: impl Into<String>) -> &mut Self {
112+
self.security_context.proc_mount = Some(value.into());
113113
self
114114
}
115115

@@ -204,7 +204,7 @@ impl SecurityContextBuilder {
204204
self
205205
}
206206

207-
pub fn win_run_as_user_name(&mut self, name: &str) -> &mut Self {
207+
pub fn win_run_as_user_name(&mut self, name: impl Into<String>) -> &mut Self {
208208
let mut wo = self
209209
.security_context
210210
.windows_options

0 commit comments

Comments
 (0)