Skip to content

Commit 0aca85b

Browse files
committed
refactor(encode): Remove trait abstraction
1 parent f5c6f4b commit 0aca85b

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy