Skip to content

Commit 6e575d8

Browse files
Fix typo in style guide
1 parent 4dafc57 commit 6e575d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/dev/style.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ More than one mark per test / code branch doesn't add significantly to understan
159159
Do not use `#[should_panic]` tests.
160160
Instead, explicitly check for `None`, `Err`, etc.
161161

162-
**Rationale:**a `#[should_panic]` is a tool for library authors, to makes sure that API does not fail silently, when misused.
162+
**Rationale:** `#[should_panic]` is a tool for library authors, to makes sure that API does not fail silently, when misused.
163163
`rust-analyzer` is not a library, we don't need to test for API misuse, and we have to handle any user input without panics.
164164
Panic messages in the logs from the `#[should_panic]` tests are confusing.
165165

0 commit comments

Comments
 (0)