Skip to content

Commit

Permalink
Fix coercin -> coercion typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cramertj committed Oct 25, 2016
1 parent 4bb6d4e commit ab6119a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_typeck/check/coercion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ impl<'f, 'gcx, 'tcx> Coerce<'f, 'gcx, 'tcx> {
// Function items are coercible to any closure
// type; function pointers are not (that would
// require double indirection).
// Additionally, we permit coercin of function
// Additionally, we permit coercion of function
// items to drop the unsafe qualifier.
self.coerce_from_fn_item(a, a_f, b)
}
Expand Down

0 comments on commit ab6119a

Please sign in to comment.