Skip to content

Commit

Permalink
chore: Remove unused features
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed May 27, 2024
1 parent b62c76e commit 881bf67
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/toml_edit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ serde_json = "1.0.116"
toml-test-harness = "0.4.8"
toml-test-data = "1.11.0"
libtest-mimic = "0.7.2"
snapbox = { version = "0.5.14", features = ["harness"] }
snapbox = "0.5.14"

[[test]]
name = "testsuite"
Expand Down
3 changes: 1 addition & 2 deletions crates/toml_edit/src/item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,6 @@ impl std::fmt::Display for Item {
/// ```rust
/// # #[cfg(feature = "display")] {
/// # #[cfg(feature = "parse")] {
/// # use snapbox::assert_eq;
/// # use toml_edit::*;
/// let mut table = Table::default();
/// let mut array = Array::default();
Expand All @@ -373,7 +372,7 @@ impl std::fmt::Display for Item {
/// table["key1"] = value("value1");
/// table["key2"] = value(42);
/// table["key3"] = value(array);
/// assert_eq(table.to_string(),
/// assert_eq!(table.to_string(),
/// r#"key1 = "value1"
/// key2 = 42
/// key3 = ["hello", '\, world']
Expand Down

0 comments on commit 881bf67

Please sign in to comment.