📝 Añade no_run a doctests ilustrativos
This commit is contained in:
parent
41c4379bc3
commit
511149caa7
26 changed files with 57 additions and 57 deletions
|
|
@ -10,7 +10,7 @@ use std::sync::Arc;
|
|||
///
|
||||
/// # Ejemplo
|
||||
///
|
||||
/// ```rust
|
||||
/// ```rust,no_run
|
||||
/// # use pagetop::prelude::*;
|
||||
/// let component = Html::with(|_| {
|
||||
/// html! {
|
||||
|
|
@ -23,7 +23,7 @@ use std::sync::Arc;
|
|||
///
|
||||
/// Para renderizar contenido que dependa del contexto, se puede acceder a él dentro del *closure*:
|
||||
///
|
||||
/// ```rust
|
||||
/// ```rust,no_run
|
||||
/// # use pagetop::prelude::*;
|
||||
/// let component = Html::with(|cx| {
|
||||
/// let user = cx.param_or("username", "visitor".to_string());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue