Browse Source

Missing backticks.

Bruce Mitchener 5 years ago
parent
commit
107a326745
1 changed files with 1 additions and 1 deletions
  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.
 ///