]> git.lizzy.rs Git - rust.git/blobdiff - src/libserialize/serialize.rs
Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnik
[rust.git] / src / libserialize / serialize.rs
index 977a36a220fdd9d22293d18910a6652bddd3581b..cf948078b08c5af50ede0da4918e3059ec0d607b 100644 (file)
@@ -824,7 +824,7 @@ fn decode<D: Decoder>(d: &mut D) -> Result<Arc<T>, D::Error> {
 /// Implement this trait on your `{Encodable,Decodable}::Error` types
 /// to override the default panic behavior for missing specializations.
 pub trait SpecializationError {
-    /// Create an error for a missing method specialization.
+    /// Creates an error for a missing method specialization.
     /// Defaults to panicking with type, trait & method names.
     /// `S` is the encoder/decoder state type,
     /// `T` is the type being encoded/decoded, and