Skip to content

Commit

Permalink
Fix typo in method name
Browse files Browse the repository at this point in the history
  • Loading branch information
djc committed Jan 13, 2021
1 parent a73e5b7 commit 50cc40b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cargo/core/compiler/context/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ impl<'a, 'cfg> Context<'a, 'cfg> {
self.prepare_units()?;
self.prepare()?;
custom_build::build_map(&mut self)?;
self.check_collistions()?;
self.check_collisions()?;

for unit in &self.bcx.roots {
// Build up a list of pending jobs, each of which represent
Expand Down Expand Up @@ -398,7 +398,7 @@ impl<'a, 'cfg> Context<'a, 'cfg> {
Ok(inputs.into_iter().collect())
}

fn check_collistions(&self) -> CargoResult<()> {
fn check_collisions(&self) -> CargoResult<()> {
let mut output_collisions = HashMap::new();
let describe_collision = |unit: &Unit, other_unit: &Unit, path: &PathBuf| -> String {
format!(
Expand Down

0 comments on commit 50cc40b

Please sign in to comment.