-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Commit 8608a3f
lint-docs: Don't hard-code the valid editions
This removes the hard-coded list of edition support in the lint-docs
tool, and instead just assumes the edition attribute is something valid.
There isn't a real reason to have this, as rustc will error if given a
wrong number. This should be easier to maintain going forward.1 parent 5ae50d3 commit 8608a3f
1 file changed
+8
-14
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
444 | 444 |
| |
445 | 445 |
| |
446 | 446 |
| |
447 | - | ||
448 | - | ||
449 | - | ||
450 | - | ||
451 | - | ||
452 | - | ||
453 | - | ||
454 | - | ||
455 | - | ||
456 | - | ||
457 | - | ||
458 | - | ||
447 | + | ||
448 | + | ||
449 | + | ||
450 | + | ||
459 | 451 |
| |
460 | - | ||
461 | - | ||
452 | + | ||
453 | + | ||
454 | + | ||
455 | + | ||
462 | 456 |
| |
463 | 457 |
| |
464 | 458 |
| |
|
0 commit comments