♻️ (locale): Sustituye Attr<Lc> por Lc::none()
This commit is contained in:
parent
c3ff8a6ff8
commit
213aa18b12
17 changed files with 275 additions and 146 deletions
|
|
@ -29,7 +29,7 @@ pub struct Image {
|
|||
/// Devuelve el origen de la imagen.
|
||||
source: image::Source,
|
||||
/// Devuelve el texto alternativo localizado.
|
||||
alternative: Attr<Lc>,
|
||||
alternative: Lc,
|
||||
}
|
||||
|
||||
#[async_trait]
|
||||
|
|
@ -140,7 +140,7 @@ impl Image {
|
|||
/// decorativa.
|
||||
#[builder_fn]
|
||||
pub fn with_alternative(mut self, alt: Lc) -> Self {
|
||||
self.alternative.alter_value(alt);
|
||||
self.alternative = alt;
|
||||
self
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue