Skip to content

Commit

Permalink
Legalize C-QUESTION-MARK violation (#2929)
Browse files Browse the repository at this point in the history
* Legalize `C-QUESTION-MARK` violation

* sure...
  • Loading branch information
playfulFence authored Jan 10, 2025
1 parent 8fad943 commit e62141f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions documentation/API-GUIDELINES.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ In general, the [Rust API Guidelines](https://rust-lang.github.io/api-guidelines
## Amendments to the Rust API Guidelines

- `C-RW-VALUE` and `C-SERDE` do not apply.
- `C-QUESTION-MARK`: `?` is not applicable in the context of the `main` function in our driver.
- `C-COMMON-TRAITS`:
The set of traits to implement depend on the type and use case. In esp-hal, we can highlight a few such use cases and provide recommendations what should be implemented. If nothing here applies, use your best judgement.
- Driver structures: `Debug`
Expand Down

0 comments on commit e62141f

Please sign in to comment.