File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 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> {
751751
752752/* Nota bene
753753 *
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
755755 * function of Pin<Box<T>> to Pin<T>. Such a function would not be sound,
756756 * because Box<T> implements Unpin even when T does not, as a result of
757757 * this impl.
@@ -762,7 +762,7 @@ impl<T: ?Sized> AsMut<T> for Box<T> {
762762 * standard library pointer types support projecting through a pin
763763 * (Box<T> is the only pointer type in std for which this would be
764764 * 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
766766 * Unpin because of trait objects, for which the structural auto
767767 * trait functionality does not apply (e.g. Box<dyn Foo> would
768768 * otherwise not be Unpin).
You can’t perform that action at this time.
0 commit comments