Skip to content

Rust API Guideline: Function docs include panic conditions in "Panics" section #1791

Closed
@mcarton

Description

@mcarton

Only for functions calling panic! and other known-panicky functions (eg. Option::unwrap).

As per Function docs include error, panic, and safety considerations.

Metadata

Metadata

Assignees

Labels

A-lintArea: New lintsE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.L-correctnessLint: Belongs in the correctness lint groupL-guidelinesLint: Related to the Rust API GuidelinesT-middleType: Probably requires verifiying types

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions