File tree 1 file changed +12
-0
lines changed
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 {
1259
1259
/// This function exists, so that all operations
1260
1260
/// are accounted for in the wrapping operations.
1261
1261
///
1262
+ /// # Panics
1263
+ ///
1264
+ /// This function will panic if `rhs` is 0.
1265
+ ///
1262
1266
/// # Examples
1263
1267
///
1264
1268
/// Basic usage:
@@ -1284,6 +1288,10 @@ macro_rules! uint_impl {
1284
1288
/// definitions of division are equal, this
1285
1289
/// is exactly equal to `self.wrapping_div(rhs)`.
1286
1290
///
1291
+ /// # Panics
1292
+ ///
1293
+ /// This function will panic if `rhs` is 0.
1294
+ ///
1287
1295
/// # Examples
1288
1296
///
1289
1297
/// Basic usage:
@@ -1337,6 +1345,10 @@ macro_rules! uint_impl {
1337
1345
/// definitions of division are equal, this
1338
1346
/// is exactly equal to `self.wrapping_rem(rhs)`.
1339
1347
///
1348
+ /// # Panics
1349
+ ///
1350
+ /// This function will panic if `rhs` is 0.
1351
+ ///
1340
1352
/// # Examples
1341
1353
///
1342
1354
/// Basic usage:
You can’t perform that action at this time.
0 commit comments