pub(crate) fn panic_wrong_call(&self, called: &str) -> ! {
        // TODO: Implement Display for ExpectedSyscall and replace {:?} with {}
        panic!(
            "Expected system call {:?}, but {} was called instead.",
            self, called
        );
    }
// Panics with a message describing that the named system call was called
// instead of the expected system call. Used by fake::Kernel to report
// incorrect system calls.
Panics with a message describing that the named system call was called
instead of the expected system call. Used by fake::Kernel to report
incorrect system calls.
Panics with a message describing that the named system call was called instead of the expected system call . Used by fake :: Kernel to report incorrect system calls .
pub(crate) fn panic_wrong_call(&self, called: &str) -> ! {
        // TODO: Implement Display for ExpectedSyscall and replace {:?} with {}
        panic!(
            "Expected system call {:?}, but {} was called instead.",
            self, called
        );
    }
pub ( crate ) fn panic_wrong_call ( & self , called : & str ) -> ! { // TODO: Implement Display for ExpectedSyscall and replace {:?} with {} panic ! ( " " self called ) ; }
Panics with a message describing that the named system call was called
instead of the expected system call.
Panics with a message describing that the named system call was called instead of the expected system call .
&self
called
&str
&self
called
&str