File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
src/tools/rust-analyzer/crates Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ fn edit_struct_def(
8585 strukt : & Either < ast:: Struct , ast:: Variant > ,
8686 record_fields : ast:: RecordFieldList ,
8787) {
88- // Note that we don't need to consider macro files in this function because this this is
88+ // Note that we don't need to consider macro files in this function because this is
8989 // currently not triggered for struct definitions inside macro calls.
9090 let tuple_fields = record_fields
9191 . fields ( )
Original file line number Diff line number Diff line change 11//! Implementation of find-usages functionality.
22//!
33//! It is based on the standard ide trick: first, we run a fast text search to
4- //! get a super-set of matches. Then, we we confirm each match using precise
4+ //! get a super-set of matches. Then, we confirm each match using precise
55//! name resolution.
66
77use std:: mem;
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ thread_local!(static IN_SCOPE: RefCell<bool> = const { RefCell::new(false) });
2626/// A wrapper around google_cpu_profiler.
2727///
2828/// Usage:
29- /// 1. Install gpref_tools (<https://github.com/gperftools/gperftools>), probably packaged with your Linux distro.
29+ /// 1. Install gperf_tools (<https://github.com/gperftools/gperftools>), probably packaged with your Linux distro.
3030/// 2. Build with `cpu_profiler` feature.
3131/// 3. Run the code, the *raw* output would be in the `./out.profile` file.
3232/// 4. Install pprof for visualization (<https://github.com/google/pprof>).
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ impl<T> TaskPool<T> {
4545
4646/// `TaskQueue`, like its name suggests, queues tasks.
4747///
48- /// This should only be used used if a task must run after [`GlobalState::process_changes`]
48+ /// This should only be used if a task must run after [`GlobalState::process_changes`]
4949/// has been called.
5050pub ( crate ) struct TaskQueue {
5151 pub ( crate ) sender : crossbeam_channel:: Sender < QueuedTask > ,
Original file line number Diff line number Diff line change @@ -443,7 +443,7 @@ pub trait QueryDb<'d>: Sized {
443443/// Trait implements by all of the "special types" associated with
444444/// each of your queries.
445445pub trait Query : Debug + Default + Sized + for < ' d > QueryDb < ' d > {
446- /// Type that you you give as a parameter -- for queries with zero
446+ /// Type that you give as a parameter -- for queries with zero
447447 /// or more than one input, this will be a tuple.
448448 type Key : Clone + Debug + Hash + Eq ;
449449
You can’t perform that action at this time.
0 commit comments