Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
keithamus committed Nov 9, 2024
1 parent 36c5432 commit 50ad2d2
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion crates/hdx_ast/src/css/values/position/impls.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
pub(crate) use crate::traits::StyleValue;
pub(crate) use hdx_proc_macro::*;


#[cfg(test)]
mod tests {
use super::super::*;
Expand Down
1 change: 0 additions & 1 deletion crates/hdx_ast/src/css/values/sizing/impls.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
pub(crate) use crate::traits::StyleValue;
pub(crate) use hdx_proc_macro::*;


#[cfg(test)]
mod tests {
use super::super::*;
Expand Down
2 changes: 1 addition & 1 deletion crates/hdx_ast/src/css/values/sizing/types.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use hdx_parser::{Parse, Parser, Peek, Result as ParserResult, Token};
use hdx_parser::{Parse, Parser, Peek, Result as ParserResult};
use hdx_writer::{CssWriter, Result as WriterResult, WriteCss};

pub use crate::css::units::*;
Expand Down
5 changes: 1 addition & 4 deletions crates/hdx_ast/src/css/values/transitions/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@ pub(crate) use crate::css::units::*;

// https://drafts.csswg.org/css-transitions-2/#typedef-transition-behavior-value
// <transition-behavior-value> = normal | allow-discrete
keyword_typedef!(TransitionBehaviorValue {
Normal: atom!("normal"),
AllowDiscrete: atom!("allow-discrete"),
});
keyword_typedef!(TransitionBehaviorValue { Normal: atom!("normal"), AllowDiscrete: atom!("allow-discrete") });

0 comments on commit 50ad2d2

Please sign in to comment.