📝 Ejemplos de documentación usando prelude
This commit is contained in:
parent
d3a9be7550
commit
79655932d0
5 changed files with 18 additions and 26 deletions
|
|
@ -25,8 +25,7 @@ use crate::LOCALES_USER;
|
|||
/// # Ejemplo
|
||||
///
|
||||
/// ```rust,no_run
|
||||
/// # use pagetop::auth::Permission;
|
||||
/// # use pagetop::CowStr;
|
||||
/// # use pagetop::prelude::*;
|
||||
/// # use pagetop_user::permission::{DeclarePermissions, PermissionRegistry};
|
||||
/// #[derive(Clone, Copy, Debug)]
|
||||
/// enum MyPermission {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue