@@ -506,6 +506,9 @@ mod prim_f64 { }
506506///
507507/// *[See also the `std::i8` module](i8/index.html).*
508508///
509+ /// However, please note that examples are shared between primitive integer
510+ /// types. So it's normal if you see usage of types like `i64` in there.
511+ ///
509512mod prim_i8 { }
510513
511514#[ doc( primitive = "i16" ) ]
@@ -514,6 +517,9 @@ mod prim_i8 { }
514517///
515518/// *[See also the `std::i16` module](i16/index.html).*
516519///
520+ /// However, please note that examples are shared between primitive integer
521+ /// types. So it's normal if you see usage of types like `i32` in there.
522+ ///
517523mod prim_i16 { }
518524
519525#[ doc( primitive = "i32" ) ]
@@ -522,6 +528,9 @@ mod prim_i16 { }
522528///
523529/// *[See also the `std::i32` module](i32/index.html).*
524530///
531+ /// However, please note that examples are shared between primitive integer
532+ /// types. So it's normal if you see usage of types like `i16` in there.
533+ ///
525534mod prim_i32 { }
526535
527536#[ doc( primitive = "i64" ) ]
@@ -530,6 +539,9 @@ mod prim_i32 { }
530539///
531540/// *[See also the `std::i64` module](i64/index.html).*
532541///
542+ /// However, please note that examples are shared between primitive integer
543+ /// types. So it's normal if you see usage of types like `i8` in there.
544+ ///
533545mod prim_i64 { }
534546
535547#[ doc( primitive = "u8" ) ]
@@ -538,6 +550,9 @@ mod prim_i64 { }
538550///
539551/// *[See also the `std::u8` module](u8/index.html).*
540552///
553+ /// However, please note that examples are shared between primitive integer
554+ /// types. So it's normal if you see usage of types like `u64` in there.
555+ ///
541556mod prim_u8 { }
542557
543558#[ doc( primitive = "u16" ) ]
@@ -546,6 +561,9 @@ mod prim_u8 { }
546561///
547562/// *[See also the `std::u16` module](u16/index.html).*
548563///
564+ /// However, please note that examples are shared between primitive integer
565+ /// types. So it's normal if you see usage of types like `u32` in there.
566+ ///
549567mod prim_u16 { }
550568
551569#[ doc( primitive = "u32" ) ]
@@ -554,6 +572,9 @@ mod prim_u16 { }
554572///
555573/// *[See also the `std::u32` module](u32/index.html).*
556574///
575+ /// However, please note that examples are shared between primitive integer
576+ /// types. So it's normal if you see usage of types like `u16` in there.
577+ ///
557578mod prim_u32 { }
558579
559580#[ doc( primitive = "u64" ) ]
@@ -562,6 +583,9 @@ mod prim_u32 { }
562583///
563584/// *[See also the `std::u64` module](u64/index.html).*
564585///
586+ /// However, please note that examples are shared between primitive integer
587+ /// types. So it's normal if you see usage of types like `u8` in there.
588+ ///
565589mod prim_u64 { }
566590
567591#[ doc( primitive = "isize" ) ]
@@ -570,6 +594,9 @@ mod prim_u64 { }
570594///
571595/// *[See also the `std::isize` module](isize/index.html).*
572596///
597+ /// However, please note that examples are shared between primitive integer
598+ /// types. So it's normal if you see usage of types like `usize` in there.
599+ ///
573600mod prim_isize { }
574601
575602#[ doc( primitive = "usize" ) ]
@@ -578,4 +605,7 @@ mod prim_isize { }
578605///
579606/// *[See also the `std::usize` module](usize/index.html).*
580607///
608+ /// However, please note that examples are shared between primitive integer
609+ /// types. So it's normal if you see usage of types like `isize` in there.
610+ ///
581611mod prim_usize { }
0 commit comments