about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaybe Waffle <waffle.lapkin@gmail.com>2022-05-03 19:41:07 +0400
committerMaybe Waffle <waffle.lapkin@gmail.com>2022-05-03 19:41:07 +0400
commitd7ed3515730ef9a0c58af0af23a044c1d92bc87a (patch)
tree470d9223509c279dcdbfa2fe992083cd487f6fa2
parenteeb45329e33ca03a7d1c21f35183fed19ee1c292 (diff)
downloadrust-d7ed3515730ef9a0c58af0af23a044c1d92bc87a.tar.gz
rust-d7ed3515730ef9a0c58af0af23a044c1d92bc87a.zip
Fix some typos in `ide-assists/src/lib.rs`
-rw-r--r--crates/ide-assists/src/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ide-assists/src/lib.rs b/crates/ide-assists/src/lib.rs
index ef4aa1c62bd..93a9f3858ff 100644
--- a/crates/ide-assists/src/lib.rs
+++ b/crates/ide-assists/src/lib.rs
@@ -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>