Skip to content

Commit b7a1acc

Browse files
authored
fix: collect_str is reachable
1 parent 2ab22a6 commit b7a1acc

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/ser/map.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,4 @@ impl<'a> ser::Serializer for MapKeySerializer<'a> {
247247
) -> Result<Self::SerializeStructVariant> {
248248
Err(key_must_be_a_string())
249249
}
250-
251-
fn collect_str<T>(self, _value: &T) -> Result<()>
252-
where
253-
T: ?Sized + core::fmt::Display,
254-
{
255-
unreachable!()
256-
}
257250
}

0 commit comments

Comments
 (0)