]> git.proxmox.com Git - cargo.git/commitdiff
Fix typo in method name
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Sat, 4 Apr 2020 18:39:14 +0000 (20:39 +0200)
committerDirkjan Ochtman <dirkjan@ochtman.nl>
Wed, 13 Jan 2021 08:18:14 +0000 (09:18 +0100)
src/cargo/core/compiler/context/mod.rs

index 4e31fed0b120a46ea9d14e285f31b2fcb888fb31..c3a3cb78f664e7457587c4e13bed8181eace25ec 100644 (file)
@@ -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
@@ -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!(