File tree 5 files changed +5
-5
lines changed
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(
85
85
strukt : & Either < ast:: Struct , ast:: Variant > ,
86
86
record_fields : ast:: RecordFieldList ,
87
87
) {
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
89
89
// currently not triggered for struct definitions inside macro calls.
90
90
let tuple_fields = record_fields
91
91
. fields ( )
Original file line number Diff line number Diff line change 1
1
//! Implementation of find-usages functionality.
2
2
//!
3
3
//! 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
5
5
//! name resolution.
6
6
7
7
use 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) });
26
26
/// A wrapper around google_cpu_profiler.
27
27
///
28
28
/// 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.
30
30
/// 2. Build with `cpu_profiler` feature.
31
31
/// 3. Run the code, the *raw* output would be in the `./out.profile` file.
32
32
/// 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> {
45
45
46
46
/// `TaskQueue`, like its name suggests, queues tasks.
47
47
///
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`]
49
49
/// has been called.
50
50
pub ( crate ) struct TaskQueue {
51
51
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 {
443
443
/// Trait implements by all of the "special types" associated with
444
444
/// each of your queries.
445
445
pub 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
447
447
/// or more than one input, this will be a tuple.
448
448
type Key : Clone + Debug + Hash + Eq ;
449
449
You can’t perform that action at this time.
0 commit comments