🔥 Elimina anotaciones #[inline] para evitar abuso

This commit is contained in:
Manuel Cillero 2025-12-17 12:35:21 +01:00
parent 95c6340fbf
commit db20cb7e67
13 changed files with 12 additions and 26 deletions

View file

@ -67,8 +67,8 @@ impl ScaleSize {
/// assert_eq!(ScaleSize::Three.class_with("p"), "p-3");
/// assert_eq!(ScaleSize::None.class_with("border"), "");
/// ```
#[inline]
pub(crate) fn class_with(self, prefix: &str) -> String {
#[doc(hidden)]
pub fn class_with(self, prefix: &str) -> String {
if !prefix.is_empty() {
if let Some(suffix) = self.suffix() {
let mut class = String::with_capacity(prefix.len() + suffix.len());