]> git.lizzy.rs Git - rust.git/blobdiff - example/arbitrary_self_types_pointers_and_wrappers.rs
Fix assert_assignable for array types
[rust.git] / example / arbitrary_self_types_pointers_and_wrappers.rs
index e9876837dd81a184b0e525328eaca8172119fac2..d270fec6b71152b88a93b1876b3ad4aff27999d0 100644 (file)
@@ -36,7 +36,7 @@ impl<T: DispatchFromDyn<U>, U> DispatchFromDyn<Wrapper<U>> for Wrapper<T> {}
 
 trait Trait {
     // This method isn't object-safe yet. Unsized by-value `self` is object-safe (but not callable
-    // without unsized_locals), but wrappers arond `Self` currently are not.
+    // without unsized_locals), but wrappers around `Self` currently are not.
     // FIXME (mikeyhew) uncomment this when unsized rvalues object-safety is implemented
     // fn wrapper(self: Wrapper<Self>) -> i32;
     fn ptr_wrapper(self: Ptr<Wrapper<Self>>) -> i32;