From 972cd8bb69d4c856735adc8abcfceab96a62f716 Mon Sep 17 00:00:00 2001 From: Without Boats Date: Thu, 6 Sep 2018 21:31:06 +0200 Subject: Fix typos. --- src/liballoc/boxed.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/liballoc') diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs index aeed139ebb7..29ba433bec7 100644 --- a/src/liballoc/boxed.rs +++ b/src/liballoc/boxed.rs @@ -751,7 +751,7 @@ impl AsMut for Box { /* Nota bene * - * We could have chosen not to add this impl, and instead have written a + * We could have chosen not to add this impl, and instead have written a * function of Pin> to Pin. Such a function would not be sound, * because Box implements Unpin even when T does not, as a result of * this impl. @@ -762,7 +762,7 @@ impl AsMut for Box { * standard library pointer types support projecting through a pin * (Box is the only pointer type in std for which this would be * safe.) - * - It is in practive very useful to have Box be unconditionally + * - It is in practice very useful to have Box be unconditionally * Unpin because of trait objects, for which the structural auto * trait functionality does not apply (e.g. Box would * otherwise not be Unpin). -- cgit 1.4.1-3-g733a5