mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-08 12:56:48 +00:00
Fix a failure in UserMode's rust-doc
This commit is contained in:
parent
7e4e3fd643
commit
16976d1fcf
@ -47,7 +47,9 @@ impl UserSpace {
|
||||
///
|
||||
/// Here is a sample code on how to use `UserMode`.
|
||||
///
|
||||
/// ```
|
||||
/// ```no_run
|
||||
/// use kxos_frame::task::Task;
|
||||
///
|
||||
/// let current = Task::current();
|
||||
/// let user_space = current.user_space()
|
||||
/// .expect("the current task is associated with a user space");
|
||||
|
Loading…
x
Reference in New Issue
Block a user