Clippy nightly now gives a "missing panics doc" warning for expect()
This change seems to be the cause of our latest nightly fails: https://github.com/rust-lang/rust-clippy/pull/10953 .
There are around 54 affected functions in our codebase.
Before applying a fix here we should decide what we want to do about this change. Should we...
- Stop caring about the
missing_panics_doc
warning? - See if we can get the
clippy
maintainers to split this into a separate lint? - Add either an
allow(missing_panics_doc)
annotation or a# Panics
section to every function that callsexpect()
?
1 would be fastest, but I think 3 would not be totally out of line. I don't think our chances for 2 are great.