Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'docs/dev/style.md')
-rw-r--r--docs/dev/style.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/dev/style.md b/docs/dev/style.md
index ac9ad8fc28..7954ae8ec6 100644
--- a/docs/dev/style.md
+++ b/docs/dev/style.md
@@ -260,7 +260,9 @@ if idx >= len {
## Assertions
Assert liberally.
-Prefer `stdx::never!` to standard `assert!`.
+Prefer [`stdx::never!`](https://docs.rs/always-assert/0.1.2/always_assert/macro.never.html) to standard `assert!`.
+
+**Rationale:** See [cross cutting concern: error handling](https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/dev/architecture.md#error-handling).
## Getters & Setters