// Alright we've entirely exhausted our list of candidates. If we've got
// something stashed away return that here (also indicating that there's
- // nothign else). If nothing is stashed away we return the list of all
+ // nothing else). If nothing is stashed away we return the list of all
// conflicting activations, if any.
//
// TODO: can the `conflicting_prev_active` clone be avoided here? should
// cases `false` also results in the non-enforcement of dev-dependencies.
require_optional_deps: bool,
- // A cache of lodaed packages for particular paths which is disjoint from
+ // A cache of loaded packages for particular paths which is disjoint from
// `packages` up above, used in the `load` method down below.
loaded_packages: RefCell<HashMap<PathBuf, Package>>,
}
/// when it was invoked.
///
/// The serialized Cargo format will contain a list of files, all of which are
-/// relative if they're under `root`. or absolute if they're elsewehre.
+/// relative if they're under `root`. or absolute if they're elsewhere.
pub fn translate_dep_info(
rustc_dep_info: &Path,
cargo_dep_info: &Path,
// For package integration tests, we need to sort the paths in a deterministic order to
// be able to match stdout warnings in the same order.
//
- // TODO: Drop collect and sort after transition period and dropping wraning tests.
+ // TODO: Drop collect and sort after transition period and dropping warning tests.
// See <https://github.com/rust-lang/cargo/issues/4268>
// and <https://github.com/rust-lang/cargo/pull/4270>
let mut entries: Vec<fs::DirEntry> = fs::read_dir(path)?.map(|e| e.unwrap()).collect();
}
#[test]
-fn doctest_recieves_build_link_args() {
+fn doctest_receives_build_link_args() {
let p = project("foo")
.file(
"Cargo.toml",
let rev2 = git::commit(&repo);
{
- // cache to regisrty rev1 and rev2
+ // cache to registry rev1 and rev2
let prj = project("cache_git_dep")
.file(
"Cargo.toml",