diff --git a/xous-rs/src/syscall.rs b/xous-rs/src/syscall.rs index 7449117be..6d5deb081 100644 --- a/xous-rs/src/syscall.rs +++ b/xous-rs/src/syscall.rs @@ -1162,7 +1162,7 @@ pub fn create_server_with_sid(sid: SID) -> core::result::Result { /// /// # Errors /// -/// * **OutOfMemory**: No more servers may be created +/// * **ServerNotFound**: No more servers may be created pub fn create_server() -> core::result::Result { let result = rsyscall(SysCall::CreateServer)?; if let Result::NewServerID(sid, _cid) = result {