Commit 8e7a1ba
authored
doc: document the full syntax for the deprecation attribute
The other day, I wanted to apply the full form (with a custom message and a deprecation date) in mathlib and failed to guess the correct order. The doc-string seemed to suggest that combining them was impossible (which was luckily false). Let's clarify that
- a custom message and deprecation date can be combined
- what the expected order is1 parent b8c941d commit 8e7a1ba
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
564 | 564 | | |
565 | 565 | | |
566 | 566 | | |
| 567 | + | |
| 568 | + | |
567 | 569 | | |
568 | 570 | | |
569 | 571 | | |
| |||
0 commit comments