Skip to content

Commit 715bbe0

Browse files
committed
fix even more typos
1 parent cedad9c commit 715bbe0

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

compiler/rustc_resolve/src/imports.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {
870870
}
871871
ImportKind::Glob { .. } => {
872872
// FIXME: Use mutable resolver directly as a hack, this should be an output of
873-
// specualtive resolution.
873+
// speculative resolution.
874874
self.get_mut_unchecked().resolve_glob_import(import);
875875
return 0;
876876
}
@@ -907,7 +907,7 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {
907907
// We need the `target`, `source` can be extracted.
908908
let imported_binding = this.import(binding, import);
909909
// FIXME: Use mutable resolver directly as a hack, this should be an output of
910-
// specualtive resolution.
910+
// speculative resolution.
911911
this.get_mut_unchecked().define_binding_local(
912912
parent,
913913
target,
@@ -921,7 +921,7 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {
921921
if target.name != kw::Underscore {
922922
let key = BindingKey::new(target, ns);
923923
// FIXME: Use mutable resolver directly as a hack, this should be an output of
924-
// specualtive resolution.
924+
// speculative resolution.
925925
this.get_mut_unchecked().update_local_resolution(
926926
parent,
927927
key,

library/std/src/sys/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#![allow(unsafe_op_in_unsafe_fn)]
22

33
/// The configure builtins provides runtime support compiler-builtin features
4-
/// which require dynamic intialization to work as expected, e.g. aarch64
4+
/// which require dynamic initialization to work as expected, e.g. aarch64
55
/// outline-atomics.
66
mod configure_builtins;
77

src/build_helper/src/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ pub fn parse_gitmodules(target_dir: &Path) -> Vec<String> {
6868
submodules_paths
6969
}
7070

71-
/// If the given executible is installed with the given version, use that,
71+
/// If the given executable is installed with the given version, use that,
7272
/// otherwise install via cargo.
7373
pub fn ensure_version_or_cargo_install(
7474
build_dir: &Path,

src/librustdoc/html/static/js/search.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3333,7 +3333,7 @@ class DocSearch {
33333333
}
33343334

33353335
// sort unstable items later
3336-
// FIXME: there is some doubt if this is the most effecient way to implement this.
3336+
// FIXME: there is some doubt if this is the most efficient way to implement this.
33373337
// alternative options include:
33383338
// * put is_unstable on each item when the index is built.
33393339
// increases memory usage but avoids a hashmap lookup.

0 commit comments

Comments
 (0)