📝 Retoques menores en documentación

This commit is contained in:
Manuel Cillero 2026-07-14 07:27:51 +02:00
parent 30151b6254
commit eb3157c4a4
5 changed files with 16 additions and 14 deletions

View file

@ -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
///