File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4085,7 +4085,7 @@ macro_rules! int_impl {
40854085 }
40864086
40874087 /// Converts `self` to the target integer type, returning `None` if the value
4088- /// does not lie in the target type's domain .
4088+ /// is not representable by the target type.
40894089 ///
40904090 /// # Examples
40914091 ///
@@ -4103,11 +4103,11 @@ macro_rules! int_impl {
41034103 }
41044104
41054105 /// Converts `self` to the target integer type, panicking if the value
4106- /// does not lie in the target type's domain .
4106+ /// is not representable by the target type.
41074107 ///
41084108 /// # Panics
41094109 ///
4110- /// This function will panic if the value does not lie in the target type's domain .
4110+ /// This function will panic if the value is not representable by the target type.
41114111 ///
41124112 /// # Examples
41134113 ///
@@ -4131,7 +4131,8 @@ macro_rules! int_impl {
41314131 T :: strict_cast_from( self )
41324132 }
41334133
4134- /// Converts `self` to the target integer type, assuming the value lies in the target type's domain.
4134+ /// Converts `self` to the target integer type, assuming the value is
4135+ /// representable by the target type.
41354136 ///
41364137 /// # Safety
41374138 ///
Original file line number Diff line number Diff line change @@ -4257,7 +4257,7 @@ macro_rules! uint_impl {
42574257 }
42584258
42594259 /// Converts `self` to the target integer type, returning `None` if the value
4260- /// does not lie in the target type's domain .
4260+ /// is not representable by the target type.
42614261 ///
42624262 /// # Examples
42634263 ///
@@ -4275,11 +4275,11 @@ macro_rules! uint_impl {
42754275 }
42764276
42774277 /// Converts `self` to the target integer type, panicking if the value
4278- /// does not lie in the target type's domain .
4278+ /// is not representable by the target type.
42794279 ///
42804280 /// # Panics
42814281 ///
4282- /// This function will panic if the value does not lie in the target type's domain .
4282+ /// This function will panic if the value is not representable by the target type.
42834283 ///
42844284 /// # Examples
42854285 ///
@@ -4303,7 +4303,8 @@ macro_rules! uint_impl {
43034303 T :: strict_cast_from( self )
43044304 }
43054305
4306- /// Converts `self` to the target integer type, assuming the value lies in the target type's domain.
4306+ /// Converts `self` to the target integer type, assuming the value is
4307+ /// representable by the target type.
43074308 ///
43084309 /// # Safety
43094310 ///
You can’t perform that action at this time.
0 commit comments