🔥 Elimina anotaciones #[inline] para evitar abuso
This commit is contained in:
parent
700bca7258
commit
11763d097d
13 changed files with 12 additions and 26 deletions
|
|
@ -94,8 +94,7 @@ impl Source {
|
|||
} */
|
||||
|
||||
/// Devuelve la clase asociada a la imagen según la fuente.
|
||||
#[inline]
|
||||
pub(crate) fn to_class(&self) -> String {
|
||||
pub fn to_class(&self) -> String {
|
||||
let s = self.as_str();
|
||||
if s.is_empty() {
|
||||
String::new()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue