Skip to content

Commit

Permalink
Remove unused type parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpot51 authored and jD91mZM2 committed Oct 18, 2018
1 parent 8d2af4a commit b400005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/sys/redox/syscall/call.rs
Expand Up @@ -105,7 +105,7 @@ pub fn fcntl(fd: usize, cmd: usize, arg: usize) -> Result<usize> {
}

/// Replace the current process with a new executable
pub fn fexec<T: AsRef<[u8]>>(fd: usize, args: &[[usize; 2]], vars: &[[usize; 2]]) -> Result<usize> {
pub fn fexec(fd: usize, args: &[[usize; 2]], vars: &[[usize; 2]]) -> Result<usize> {
unsafe { syscall5(SYS_FEXEC, fd, args.as_ptr() as usize, args.len(),
vars.as_ptr() as usize, vars.len()) }
}
Expand Down

0 comments on commit b400005

Please sign in to comment.