We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ce53b86 + cd5ed82 commit 41199ccCopy full SHA for 41199cc
src/ser.rs
@@ -2064,6 +2064,8 @@ static ESCAPE: [u8; 256] = [
2064
2065
/// Serialize the given data structure as JSON into the IO stream.
2066
///
2067
+/// Serialization guarantees it only feeds valid UTF-8 sequences to the writer.
2068
+///
2069
/// # Errors
2070
2071
/// Serialization can fail if `T`'s implementation of `Serialize` decides to
@@ -2082,6 +2084,8 @@ where
2082
2084
/// Serialize the given data structure as pretty-printed JSON into the IO
2083
2085
/// stream.
2086
2087
2088
2089
2090
2091
0 commit comments