xous: run cargo fmt

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2021-05-19 14:20:47 +08:00
parent f7ae13da44
commit c516919479
2 changed files with 4 additions and 6 deletions

View file

@ -297,9 +297,7 @@ fn xous_address() -> SocketAddr {
.unwrap_or_else(default_xous_address)
}
pub fn create_thread_0_pre<U>(
_f: &fn() -> U,
) -> core::result::Result<ThreadInit, crate::Error>
pub fn create_thread_0_pre<U>(_f: &fn() -> U) -> core::result::Result<ThreadInit, crate::Error>
where
U: Send + 'static,
{

View file

@ -26,7 +26,7 @@ Here is the allocation so far:
*/
pub const GID_KEYBOARD_KEYSTATE_EVENT: usize = 0x01_000000;
pub const GID_KEYBOARD_RAW_KEYSTATE_EVENT: usize = 0x01_000001;
pub const GID_KEYBOARD_KEYSTATE_EVENT: usize = 0x01_000000;
pub const GID_KEYBOARD_RAW_KEYSTATE_EVENT: usize = 0x01_000001;
pub const GID_COM_BATTSTATS_EVENT: usize = 0x02_000000;
pub const GID_COM_BATTSTATS_EVENT: usize = 0x02_000000;