Skip to content

Commit 09754ed

Browse files
meta(cursor): Tell Cursor to cargo fmt (#2721)
And also, make some other minor corrections to the development guidelines.
1 parent 87be223 commit 09754ed

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.cursor/rules/rust-development.mdc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,18 @@ alwaysApply: false
2929

3030
## Development Commands
3131

32+
Always run `cargo fmt --all`, prior to committing any Rust code, to ensure consistent formatting and to avoid CI failures.
33+
34+
Some other commands you may find useful:
35+
3236
```bash
3337
# Essential Rust workflow - run against the whole workspace
3438
cargo build --workspace
3539
cargo test --workspace
3640
cargo clippy --workspace
37-
cargo fmt
3841

3942
# Local testing
40-
./bin/sentry-cli --help
43+
cargo run -- --help
4144
```
4245

4346
## Error Handling Patterns

0 commit comments

Comments
 (0)