Commit 44bd31c
committed
Auto merge of rust-lang#116075 - Colonial-Dev:issue-116063-fix, r=Mark-Simulacrum
Document panics on unsigned wrapping_div/rem calls (rust-lang#116063)
Add missing `# Panics` sections to the `uint_impl!` macro, documenting that the `wrapping_rem/div` calls will panic if passed zero.1 file changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1259 | 1259 | | |
1260 | 1260 | | |
1261 | 1261 | | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
1262 | 1266 | | |
1263 | 1267 | | |
1264 | 1268 | | |
| |||
1284 | 1288 | | |
1285 | 1289 | | |
1286 | 1290 | | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
1287 | 1295 | | |
1288 | 1296 | | |
1289 | 1297 | | |
| |||
1307 | 1315 | | |
1308 | 1316 | | |
1309 | 1317 | | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
1310 | 1322 | | |
1311 | 1323 | | |
1312 | 1324 | | |
| |||
1333 | 1345 | | |
1334 | 1346 | | |
1335 | 1347 | | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
1336 | 1352 | | |
1337 | 1353 | | |
1338 | 1354 | | |
| |||
0 commit comments