Skip to content

Commit ab6119a

Browse files
committed
Fix coercin -> coercion typo
1 parent 4bb6d4e commit ab6119a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_typeck/check/coercion.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ impl<'f, 'gcx, 'tcx> Coerce<'f, 'gcx, 'tcx> {
196196
// Function items are coercible to any closure
197197
// type; function pointers are not (that would
198198
// require double indirection).
199-
// Additionally, we permit coercin of function
199+
// Additionally, we permit coercion of function
200200
// items to drop the unsafe qualifier.
201201
self.coerce_from_fn_item(a, a_f, b)
202202
}

0 commit comments

Comments
 (0)