Parcourir la source

Missing backticks.

Bruce Mitchener il y a 5 ans
Parent
commit
107a326745
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/cast.rs

+ 1 - 1
src/cast.rs

@@ -682,7 +682,7 @@ impl<T: NumCast> NumCast for Wrapping<T> {
 
 /// A generic interface for casting between machine scalars with the
 /// `as` operator, which admits narrowing and precision loss.
-/// Implementers of this trait AsPrimitive should behave like a primitive
+/// Implementers of this trait `AsPrimitive` should behave like a primitive
 /// numeric type (e.g. a newtype around another primitive), and the
 /// intended conversion must never fail.
 ///