Skip to content

Commit

Permalink
Update dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Apr 16, 2024
1 parent 60db8e5 commit 75fd5bf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ unicode-id = { version = "0.3", features = ["no_std"] }
serde = { version = "1.0", features = ["derive"], optional = true }

[dev-dependencies]
env_logger = "0.10"
env_logger = "0.11"
criterion = "0.5"
pretty_assertions = "1"
swc_core = { version = "0.86.0", features = [
swc_core = { version = "0.90.0", features = [
"ecma_ast",
"ecma_visit",
"ecma_parser",
Expand Down
4 changes: 4 additions & 0 deletions src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2652,6 +2652,7 @@ pub enum Name {
/// > | a <b.c> d
/// ^^^
/// ```
#[allow(clippy::enum_variant_names)]
MdxJsxTagName,
/// MDX extension: JSX: primary tag name.
///
Expand Down Expand Up @@ -2820,6 +2821,7 @@ pub enum Name {
/// > | a <b c:d="e"> f
/// ^^^
/// ```
#[allow(clippy::enum_variant_names)]
MdxJsxTagAttributeName,
/// MDX extension: JSX: primary attribute name.
///
Expand All @@ -2840,6 +2842,7 @@ pub enum Name {
/// > | a <b c:d="e"> f
/// ^
/// ```
#[allow(clippy::enum_variant_names)]
MdxJsxTagAttributePrimaryName,
/// MDX extension: JSX: attribute name prefix marker.
///
Expand Down Expand Up @@ -3460,6 +3463,7 @@ pub enum Content {
/// Represents [flow content][crate::construct::flow].
Flow,
/// Represents [content][crate::construct::content].
#[allow(clippy::enum_variant_names)]
Content,
/// Represents [string content][crate::construct::string].
String,
Expand Down
2 changes: 1 addition & 1 deletion src/to_html.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ pub fn compile(events: &[Event], bytes: &[u8], options: &CompileOptions) -> Stri
debug_assert_eq!(context.buffers.len(), 1, "expected 1 final buffer");
context
.buffers
.get(0)
.first()
.expect("expected 1 final buffer")
.into()
}
Expand Down
1 change: 1 addition & 0 deletions src/to_mdast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ use core::str;
/// A reference to something.
#[derive(Debug)]
struct Reference {
#[allow(clippy::struct_field_names)]
reference_kind: Option<ReferenceKind>,
identifier: String,
label: String,
Expand Down

0 comments on commit 75fd5bf

Please sign in to comment.