Skip to content

Commit f1a183e

Browse files
committed
Misc: there is no need to provide access methods.
Because it's cheap to construct/destroy the `Serializer` every time you need.
1 parent f57bd88 commit f1a183e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/encode.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1283,8 +1283,6 @@ impl<'a> Serializer<'a> {
12831283
wr: wr,
12841284
}
12851285
}
1286-
1287-
// TODO: An ability to borrow the `Write`.
12881286
}
12891287

12901288
impl<'a> serde::Serializer for Serializer<'a> {

0 commit comments

Comments
 (0)