Skip to content

Commit ae7006e

Browse files
brendanzabalexcrichton
authored andcommitted
Update doc comment for Int trait
1 parent cb8ca2d commit ae7006e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libcore/num/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,8 @@ pub trait Primitive: Copy
388388

389389
trait_impl!(Primitive for uint u8 u16 u32 u64 int i8 i16 i32 i64 f32 f64)
390390

391-
/// A collection of traits relevant to primitive signed and unsigned integers
391+
/// A primitive signed or unsigned integer equipped with various bitwise
392+
/// operators, bit counting methods, and endian conversion functions.
392393
pub trait Int: Primitive
393394
+ CheckedAdd
394395
+ CheckedSub

0 commit comments

Comments
 (0)