File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 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
17691769/// (which is what the `PartialEq for &T` implementation does).
17701770///
17711771/// 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
17731773/// to values of the same underlying type can compare inequal (because vtables are duplicated in
17741774/// multiple codegen units), and pointers to values of *different* underlying type can compare equal
17751775/// (since identical vtables can be deduplicated within a codegen unit).
You can’t perform that action at this time.
0 commit comments