Skip to content

Commit b400005

Browse files
jackpot51jD91mZM2
authored andcommitted
Remove unused type parameter
1 parent 8d2af4a commit b400005

File tree

1 file changed

+1
-1
lines changed
  • src/libstd/sys/redox/syscall

1 file changed

+1
-1
lines changed

src/libstd/sys/redox/syscall/call.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ pub fn fcntl(fd: usize, cmd: usize, arg: usize) -> Result<usize> {
105105
}
106106

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

0 commit comments

Comments
 (0)