Skip to content

Commit

Permalink
Merge pull request #674 from epage/refactor
Browse files Browse the repository at this point in the history
refactor(encode): Remove trait abstraction
  • Loading branch information
epage committed Feb 5, 2024
2 parents acf1075 + 0aca85b commit 35e5326
Show file tree
Hide file tree
Showing 7 changed files with 167 additions and 196 deletions.
2 changes: 1 addition & 1 deletion crates/toml_edit/src/array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ impl Array {
#[cfg(feature = "display")]
impl std::fmt::Display for Array {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
crate::encode::Encode::encode(self, f, None, ("", ""))
crate::encode::encode_array(self, f, None, ("", ""))
}
}

Expand Down
Loading

0 comments on commit 35e5326

Please sign in to comment.