Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/oxc_formatter/src/external_formatter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const SUPPORTED_TAGS: &[&str] = &["css", "styled", "gql", "graphql", "html", "md
/// This struct holds all callbacks that delegate to external (typically JS) implementations:
/// - Embedded language formatting (CSS, GraphQL, HTML in template literals)
/// - Tailwind CSS class sorting
#[derive(Clone, Default)]
#[derive(Default)]
pub struct ExternalCallbacks {
embedded_formatter: Option<EmbeddedFormatterCallback>,
tailwind: Option<TailwindCallback>,
Expand Down
1 change: 0 additions & 1 deletion crates/oxc_formatter/src/formatter/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ impl TailwindContextEntry {
}

/// Context object storing data relevant when formatting an object.
#[derive(Clone)]
pub struct FormatContext<'ast> {
options: FormatOptions,

Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_formatter/src/formatter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pub use self::{
};
use self::{format_element::document::Document, group_id::UniqueGroupIdBuilder, prelude::TagKind};

#[derive(Debug, Clone)]
#[derive(Debug)]
pub struct Formatted<'a> {
document: Document<'a>,
context: FormatContext<'a>,
Expand Down
Loading