Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 377d72a

Browse files
committed
Auto merge of rust-lang#13194 - sheshnath-at-knoldus:fix-typos, r=Jarcho
fix-typos fixes some typos in lintcheck changelog: None
2 parents 8dd459d + b9716dd commit 377d72a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lintcheck/src/input.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,12 @@ pub fn read_crates(toml_path: &Path) -> (Vec<CrateWithSource>, RecursiveOptions)
9898
let crate_list: SourceList =
9999
toml::from_str(&toml_content).unwrap_or_else(|e| panic!("Failed to parse {}: \n{e}", toml_path.display()));
100100
// parse the hashmap of the toml file into a list of crates
101-
let tomlcrates: Vec<TomlCrate> = crate_list.crates.into_values().collect();
101+
let toml_crates: Vec<TomlCrate> = crate_list.crates.into_values().collect();
102102

103103
// flatten TomlCrates into CrateSources (one TomlCrates may represent several versions of a crate =>
104-
// multiple Cratesources)
104+
// multiple CrateSources)
105105
let mut crate_sources = Vec::new();
106-
for tk in tomlcrates {
106+
for tk in toml_crates {
107107
if let Some(ref path) = tk.path {
108108
crate_sources.push(CrateWithSource {
109109
name: tk.name.clone(),

0 commit comments

Comments
 (0)