steg 2
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# Conventions
|
||||
|
||||
## Rust Style
|
||||
|
||||
- Prefer `use serde_json as json;` whenever a file works with JSON values or macros.
|
||||
- Keep functions on the happy path.
|
||||
- Use early exits for optional values with `let Some(x) = maybe else { return ...; }`.
|
||||
- Avoid deep nesting when an early return makes the flow clearer.
|
||||
Reference in New Issue
Block a user