File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 37
37
//! should be available more or less everywhere, which isn't useful. So
38
38
//! instead we only show it if the user *selects* the items they want to sort.
39
39
//! * 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
41
41
//! much, it might only fire in fully-correct code. This makes assist less
42
42
//! useful and (worse) less predictable. The user should have a clear
43
43
//! intuition when each particular assist is available.
54
54
//! something. If something *could* be a diagnostic, it should be a
55
55
//! diagnostic. Conversely, it might be valuable to turn a diagnostic with a
56
56
//! lot of false errors into an assist.
57
- //! *
58
57
//!
59
58
//! See also this post:
60
59
//! <https://rust-analyzer.github.io/blog/2020/09/28/how-to-make-a-light-bulb.html>
You can’t perform that action at this time.
0 commit comments