diff --git a/src/value/mod.rs b/src/value/mod.rs index 0b27843..24ae5b0 100644 --- a/src/value/mod.rs +++ b/src/value/mod.rs @@ -7,15 +7,15 @@ use crate::common::{Brackets, ListSeparator, Op, QuoteKind}; use crate::error::SassResult; use crate::unit::{Unit, UNIT_CONVERSION_TABLE}; -pub(crate) use sass_function::SassFunction; pub(crate) use map::SassMap; pub(crate) use number::Number; +pub(crate) use sass_function::SassFunction; -mod sass_function; mod map; mod number; mod ops; mod parse; +mod sass_function; #[derive(Debug, Clone, PartialEq, Eq)] pub(crate) enum Value { diff --git a/src/value/sass_function.rs b/src/value/sass_function.rs index f75f7f1..49cd21e 100644 --- a/src/value/sass_function.rs +++ b/src/value/sass_function.rs @@ -1,13 +1,13 @@ //! SASS functions are those that are evaluated and return a value -//! +//! //! SASS functions can be either user-defined or builtin. -//! +//! //! User-defined functions are those that have been implemented in SASS -//! using the @function rule. See the documentation of `crate::atrule::Function` +//! using the @function rule. See the documentation of `crate::atrule::Function` //! for more information. -//! -//! Builtin functions are those that have been implemented in rust and are -//! in the global scope. +//! +//! Builtin functions are those that have been implemented in rust and are +//! in the global scope. use std::fmt; @@ -21,7 +21,7 @@ use crate::value::Value; /// A SASS function /// See toplevel documentation for more information -/// +/// /// The function name is stored in addition to the body /// for use in the builtin function `inspect()` #[derive(Clone)] @@ -32,7 +32,7 @@ pub(crate) enum SassFunction { impl SassFunction { /// Get the name of the function referenced - /// + /// /// Used mainly in debugging and `inspect()` pub fn name(&self) -> &str { match self { @@ -42,8 +42,8 @@ impl SassFunction { } /// Whether the function is builtin or user-defined - /// - /// Used only in `std::fmt::Debug` for `SassFunction` + /// + /// Used only in `std::fmt::Debug` for `SassFunction` fn kind(&self) -> &'static str { match &self { Self::Builtin(..) => "Builtin",