File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -751,7 +751,7 @@ impl<T: ?Sized> AsMut<T> for Box<T> {
751
751
752
752
/* Nota bene
753
753
*
754
- * We could have chosen not to add this impl, and instead have written a
754
+ * We could have chosen not to add this impl, and instead have written a
755
755
* function of Pin<Box<T>> to Pin<T>. Such a function would not be sound,
756
756
* because Box<T> implements Unpin even when T does not, as a result of
757
757
* this impl.
@@ -762,7 +762,7 @@ impl<T: ?Sized> AsMut<T> for Box<T> {
762
762
* standard library pointer types support projecting through a pin
763
763
* (Box<T> is the only pointer type in std for which this would be
764
764
* safe.)
765
- * - It is in practive very useful to have Box<T> be unconditionally
765
+ * - It is in practice very useful to have Box<T> be unconditionally
766
766
* Unpin because of trait objects, for which the structural auto
767
767
* trait functionality does not apply (e.g. Box<dyn Foo> would
768
768
* otherwise not be Unpin).
You can’t perform that action at this time.
0 commit comments