bind interface and refactor doc
This commit is contained in:
1 parent
5530085fda
commit
538aef71d1
12 files changed
+270
-127
No files matched your search
@@ -0,0 +1,17 @@
|
||||
# Repository Instructions
|
||||
|
||||
## Rust Rules
|
||||
|
||||
- In Rust code, do not introduce `unwrap()` or `expect()`.
|
||||
- Allowed exceptions:
|
||||
- Tests may use `unwrap()` or `expect()` when it keeps the test focused and readable.
|
||||
- Lock acquisition may use `unwrap()` only when the locking API makes that the practical option and the failure mode is poison handling rather than normal control flow.
|
||||
- Outside those exceptions, propagate errors, handle them explicitly, or use safer fallbacks instead of `unwrap()` and `expect()`.
|
||||
|
||||
## Editing Hygiene
|
||||
|
||||
- Do not introduce formatting-only changes.
|
||||
- Do not run repository-wide formatters or reflow unrelated code unless the
|
||||
user explicitly asks for formatting.
|
||||
- Keep diffs limited to semantic changes required for the task.
|
||||
|
||||
Reference in new issue
Block a user