🔥 Elimina anotaciones #[inline] para evitar abuso
This commit is contained in:
parent
95c6340fbf
commit
db20cb7e67
13 changed files with 12 additions and 26 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue