🗑️ Elimina métodos y definiciones obsoletas

This commit is contained in:
Manuel Cillero 2025-11-23 14:37:00 +01:00
parent a2fe2114cd
commit 4ac7caddd4
7 changed files with 4 additions and 182 deletions

View file

@ -1,4 +1,3 @@
use crate::html::Markup;
use crate::locale::{L10n, LangId};
use crate::{builder_fn, AutoDefault};
@ -58,10 +57,4 @@ impl AttrL10n {
pub fn value(&self, language: &impl LangId) -> String {
self.0.lookup(language).unwrap_or_default()
}
/// **Obsoleto desde la versión 0.4.0**: no recomendado para atributos HTML.
#[deprecated(since = "0.4.0", note = "For attributes use `lookup()` or `value()`")]
pub fn to_markup(&self, language: &impl LangId) -> Markup {
self.0.using(language)
}
}