mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
make docs reflect the error message actually thrown
This commit is contained in:
parent
f975884f1e
commit
fe86207469
1 changed files with 1 additions and 1 deletions
|
|
@ -1162,7 +1162,7 @@ pub fn create_server_with_sid(sid: SID) -> core::result::Result<SID, Error> {
|
||||||
///
|
///
|
||||||
/// # Errors
|
/// # Errors
|
||||||
///
|
///
|
||||||
/// * **OutOfMemory**: No more servers may be created
|
/// * **ServerNotFound**: No more servers may be created
|
||||||
pub fn create_server() -> core::result::Result<SID, Error> {
|
pub fn create_server() -> core::result::Result<SID, Error> {
|
||||||
let result = rsyscall(SysCall::CreateServer)?;
|
let result = rsyscall(SysCall::CreateServer)?;
|
||||||
if let Result::NewServerID(sid, _cid) = result {
|
if let Result::NewServerID(sid, _cid) = result {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue