File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1769,7 +1769,7 @@ pub(crate) const unsafe fn align_offset<T: Sized>(p: *const T, a: usize) -> usiz
1769
1769
/// (which is what the `PartialEq for &T` implementation does).
1770
1770
///
1771
1771
/// When comparing wide pointers, both the address and the metadata are tested for equality.
1772
- /// However, note that comparing trait object pointers (`*const dyn Trait`) is unrealiable : pointers
1772
+ /// However, note that comparing trait object pointers (`*const dyn Trait`) is unreliable : pointers
1773
1773
/// to values of the same underlying type can compare inequal (because vtables are duplicated in
1774
1774
/// multiple codegen units), and pointers to values of *different* underlying type can compare equal
1775
1775
/// (since identical vtables can be deduplicated within a codegen unit).
You can’t perform that action at this time.
0 commit comments