Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit d7ed351

Browse files
committed
Fix some typos in ide-assists/src/lib.rs
1 parent eeb4532 commit d7ed351

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/ide-assists/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
//! should be available more or less everywhere, which isn't useful. So
3838
//! instead we only show it if the user *selects* the items they want to sort.
3939
//! * Consider grouping related assists together (see [`Assists::add_group`]).
40-
//! * Make assists robust. If the assist depends on results of type-inference to
40+
//! * Make assists robust. If the assist depends on results of type-inference too
4141
//! much, it might only fire in fully-correct code. This makes assist less
4242
//! useful and (worse) less predictable. The user should have a clear
4343
//! intuition when each particular assist is available.
@@ -54,7 +54,6 @@
5454
//! something. If something *could* be a diagnostic, it should be a
5555
//! diagnostic. Conversely, it might be valuable to turn a diagnostic with a
5656
//! lot of false errors into an assist.
57-
//! *
5857
//!
5958
//! See also this post:
6059
//! <https://rust-analyzer.github.io/blog/2020/09/28/how-to-make-a-light-bulb.html>

0 commit comments

Comments
 (0)