File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -1259,6 +1259,10 @@ macro_rules! uint_impl {
12591259 /// This function exists, so that all operations
12601260 /// are accounted for in the wrapping operations.
12611261 ///
1262+ /// # Panics
1263+ ///
1264+ /// This function will panic if `rhs` is 0.
1265+ ///
12621266 /// # Examples
12631267 ///
12641268 /// Basic usage:
@@ -1284,6 +1288,10 @@ macro_rules! uint_impl {
12841288 /// definitions of division are equal, this
12851289 /// is exactly equal to `self.wrapping_div(rhs)`.
12861290 ///
1291+ /// # Panics
1292+ ///
1293+ /// This function will panic if `rhs` is 0.
1294+ ///
12871295 /// # Examples
12881296 ///
12891297 /// Basic usage:
@@ -1337,6 +1345,10 @@ macro_rules! uint_impl {
13371345 /// definitions of division are equal, this
13381346 /// is exactly equal to `self.wrapping_rem(rhs)`.
13391347 ///
1348+ /// # Panics
1349+ ///
1350+ /// This function will panic if `rhs` is 0.
1351+ ///
13401352 /// # Examples
13411353 ///
13421354 /// Basic usage:
You can’t perform that action at this time.
0 commit comments