Skip to content

Commit 35e5326

Browse files
authored
Merge pull request #674 from epage/refactor
refactor(encode): Remove trait abstraction
2 parents acf1075 + 0aca85b commit 35e5326

File tree

7 files changed

+167
-196
lines changed

7 files changed

+167
-196
lines changed

crates/toml_edit/src/array.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ impl Array {
392392
#[cfg(feature = "display")]
393393
impl std::fmt::Display for Array {
394394
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
395-
crate::encode::Encode::encode(self, f, None, ("", ""))
395+
crate::encode::encode_array(self, f, None, ("", ""))
396396
}
397397
}
398398

0 commit comments

Comments
 (0)