Skip to content

Commit

Permalink
refactor(encode): Remove trait abstraction
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Feb 5, 2024
1 parent f5c6f4b commit 0aca85b
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 0aca85b

Please sign in to comment.