diff --git a/pagetop/src/locale.rs b/pagetop/src/locale.rs index 53071011..f06b37fe 100644 --- a/pagetop/src/locale.rs +++ b/pagetop/src/locale.rs @@ -87,7 +87,7 @@ //! static_locales!(LOCALES_SAMPLE in "path/to/locale"); //! ``` //! -//! Usa el componente [L10n](crate::core::component::l10n::L10n) para incluir textos y contenidos +//! Usa el componente [L10n](crate::core::component::L10n) para incluir textos y contenidos //! opcionalmente traducibles segĂșn el contexto de renderizado. use crate::{config, kv, trace, LazyStatic}; diff --git a/pagetop/src/response/redirect.rs b/pagetop/src/response/redirect.rs index eb2678a8..3b6f0646 100644 --- a/pagetop/src/response/redirect.rs +++ b/pagetop/src/response/redirect.rs @@ -57,8 +57,8 @@ impl Redirect { } /// Temporary redirection. Status Code **307**. Method and body not changed. The web page is - /// temporarily unavailable for unforeseen reasons. Better than [`found()`](found) when non-GET - /// operations are available on the site. + /// temporarily unavailable for unforeseen reasons. Better than [`found()`](Self::found) when + /// non-GET operations are available on the site. pub fn temporary(redirect_to_url: &str) -> HttpResponse { HttpResponse::TemporaryRedirect() .append_header(("Location", redirect_to_url))