Rust API Guideline: Function docs include panic conditions in "Panics" section #1791
Labels
A-lint
Area: New lints
E-medium
Call for participation: Medium difficulty level problem and requires some initial experience.
L-correctness
Lint: Belongs in the correctness lint group
L-guidelines
Lint: Related to the Rust API Guidelines
T-middle
Type: Probably requires verifiying types
Only for functions calling
panic!
and other known-panicky functions (eg.Option::unwrap
).As per Function docs include error, panic, and safety considerations.
The text was updated successfully, but these errors were encountered: