File tree 5 files changed +6
-6
lines changed
src/tools/rust-analyzer/crates
5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ impl chalk_ir::interner::Interner for Interner {
55
55
type InternedConst = Interned < InternedWrapper < ConstData > > ;
56
56
type InternedConcreteConst = ConstScalar ;
57
57
type InternedGenericArg = GenericArgData ;
58
- // We could do the following, but that saves "only" 20mb on self while increasing inferecene
58
+ // We could do the following, but that saves "only" 20mb on self while increasing inference
59
59
// time by ~2.5%
60
60
// type InternedGoal = Interned<InternedWrapper<GoalData>>;
61
61
type InternedGoal = Arc < GoalData > ;
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ impl Analysis {
299
299
300
300
/// Gets the syntax tree of the file.
301
301
pub fn parse ( & self , file_id : FileId ) -> Cancellable < SourceFile > {
302
- // FIXME editiojn
302
+ // FIXME edition
303
303
self . with_db ( |db| db. parse ( EditionedFileId :: current_edition ( file_id) ) . tree ( ) )
304
304
}
305
305
@@ -540,7 +540,7 @@ impl Analysis {
540
540
/// Returns URL(s) for the documentation of the symbol under the cursor.
541
541
/// # Arguments
542
542
/// * `position` - Position in the file.
543
- /// * `target_dir` - Directory where the build output is storeda .
543
+ /// * `target_dir` - Directory where the build output is stored .
544
544
pub fn external_docs (
545
545
& self ,
546
546
position : FilePosition ,
Original file line number Diff line number Diff line change 11
11
/// case), and we know that the query only used inputs of medium
12
12
/// durability or higher, then we can skip that enumeration.
13
13
///
14
- /// Typically, one assigns low durabilites to inputs that the user is
14
+ /// Typically, one assigns low durabilities to inputs that the user is
15
15
/// frequently editing. Medium or high durabilities are used for
16
16
/// configuration, the source from library crates, or other things
17
17
/// that are unlikely to be edited.
Original file line number Diff line number Diff line change @@ -291,7 +291,7 @@ pub trait ParallelDatabase: Database + Send {
291
291
/// # Panics
292
292
///
293
293
/// It is not permitted to create a snapshot from inside of a
294
- /// query. Attepting to do so will panic.
294
+ /// query. Attempting to do so will panic.
295
295
///
296
296
/// # Deadlock warning
297
297
///
Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ fn cycle_revalidate_unchanged_twice() {
255
255
db. set_b_invokes ( CycleQuery :: A ) ;
256
256
257
257
assert ! ( db. cycle_a( ) . is_err( ) ) ;
258
- db. set_c_invokes ( CycleQuery :: A ) ; // force new revisi5on
258
+ db. set_c_invokes ( CycleQuery :: A ) ; // force new revision
259
259
260
260
// on this run
261
261
expect ! [ [ r#"
You can’t perform that action at this time.
0 commit comments