Fix some typos in ide-assists/src/lib.rs
This commit is contained in:
parent
eeb45329e3
commit
d7ed351573
@ -37,7 +37,7 @@
|
||||
//! should be available more or less everywhere, which isn't useful. So
|
||||
//! instead we only show it if the user *selects* the items they want to sort.
|
||||
//! * Consider grouping related assists together (see [`Assists::add_group`]).
|
||||
//! * Make assists robust. If the assist depends on results of type-inference to
|
||||
//! * Make assists robust. If the assist depends on results of type-inference too
|
||||
//! much, it might only fire in fully-correct code. This makes assist less
|
||||
//! useful and (worse) less predictable. The user should have a clear
|
||||
//! intuition when each particular assist is available.
|
||||
@ -54,7 +54,6 @@
|
||||
//! something. If something *could* be a diagnostic, it should be a
|
||||
//! diagnostic. Conversely, it might be valuable to turn a diagnostic with a
|
||||
//! lot of false errors into an assist.
|
||||
//! *
|
||||
//!
|
||||
//! See also this post:
|
||||
//! <https://rust-analyzer.github.io/blog/2020/09/28/how-to-make-a-light-bulb.html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user