diff options
Diffstat (limited to 'src/librustuv')
| -rw-r--r-- | src/librustuv/process.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustuv/process.rs b/src/librustuv/process.rs index 61325d0ce94..0486f376bc8 100644 --- a/src/librustuv/process.rs +++ b/src/librustuv/process.rs @@ -193,7 +193,7 @@ fn with_argv<T>(prog: &CString, args: &[CString], } /// Converts the environment to the env array expected by libuv -fn with_env<T>(env: Option<&[(CString, CString)]>, +fn with_env<T>(env: Option<&[(&CString, &CString)]>, cb: |*const *const libc::c_char| -> T) -> T { // We can pass a char** for envp, which is a null-terminated array // of "k=v\0" strings. Since we must create these strings locally, |
