📝 Retoques menores en documentación
This commit is contained in:
parent
30151b6254
commit
eb3157c4a4
5 changed files with 16 additions and 14 deletions
|
|
@ -143,12 +143,12 @@ pub trait Extension: AnyInfo + Send + Sync {
|
|||
///
|
||||
/// # Operaciones disponibles
|
||||
///
|
||||
/// | Operación | Llamada sobre `router` |
|
||||
/// |------------------------------------|----------------------------------------------------|
|
||||
/// | Ruta HTTP | `.route("/path", web::get(handler))` |
|
||||
/// | Rutas bajo prefijo común | `.nest("/prefix", sub_router)` |
|
||||
/// | Archivos estáticos | `serve_static_files!(router, [assets] => "/path")` |
|
||||
/// | Estado compartido entre *handlers* | `.with_state(my_state)` |
|
||||
/// | Operación | Llamada sobre `router` |
|
||||
/// |----------------------------------|----------------------------------------------------|
|
||||
/// | Ruta HTTP | `.route("/path", web::get(handler))` |
|
||||
/// | Rutas bajo prefijo común | `.nest("/prefix", sub_router)` |
|
||||
/// | Archivos estáticos | `serve_static_files!(router, [assets] => "/path")` |
|
||||
/// | Estado compartido entre handlers | `.with_state(my_state)` |
|
||||
///
|
||||
/// # Ejemplos
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue