From 9cd614fd35318faafb454636bce49455eb13281c Mon Sep 17 00:00:00 2001 From: Jean-Pierre De Jesus DIAZ Date: Wed, 12 Apr 2023 16:43:29 +0200 Subject: [PATCH] fix xous-rs documentation tests Signed-off-by: Jean-Pierre De Jesus DIAZ --- xous-rs/src/syscall.rs | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/xous-rs/src/syscall.rs b/xous-rs/src/syscall.rs index 3823781e6..d556e3c7b 100644 --- a/xous-rs/src/syscall.rs +++ b/xous-rs/src/syscall.rs @@ -439,15 +439,15 @@ pub enum SysCall { /// /// ## Arguments /// - /// * **Index**: The item to adjust. Currently the following limits - /// are supported: - /// 1: Maximum heap size - /// 2: Current heap size - /// * **Current Limit**: Pass the current limit value here. The current - /// limit must match in order for the new limit to take - /// effect. This is used to avoid a race condition if two - /// threads try to set the same limit. - /// * **Proposed Limit**: The new value that you would like to use. + /// * **Index**: The item to adjust. Currently the following limits + /// are supported: + /// 1: Maximum heap size + /// 2: Current heap size + /// * **Current Limit**: Pass the current limit value here. The current + /// limit must match in order for the new limit to take + /// effect. This is used to avoid a race condition if two + /// threads try to set the same limit. + /// * **Proposed Limit**: The new value that you would like to use. /// /// ## Returns /// @@ -455,7 +455,7 @@ pub enum SysCall { /// /// ## Errors /// - /// * **InvalidLimit**: The specified index was not valid + /// * **InvalidLimit**: The specified index was not valid AdjustProcessLimit( usize, /* process limit index */ usize, /* expected current limit */ @@ -488,9 +488,9 @@ pub enum SysCall { /// /// ## Arguments /// - /// * **MessageSender**: This is the `sender` from the message envelope. - /// It is a unique ID that identifies this message, - /// as well as the server it came from. + /// * **MessageSender**: This is the `sender` from the message envelope. + /// It is a unique ID that identifies this message, + /// as well as the server it came from. /// /// The remaining arguments depend on whether the message was a `BlockingScalar` /// message or a `MemoryMessage`. Note that this function should NOT be called