removes additional spacing between hyphen and word safe

This commit is contained in:
Martin Ombura Jr 2022-03-14 08:18:44 +02:00 committed by GitHub
parent 06a6d81272
commit 5eb9201c57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -35,8 +35,8 @@ RFC).
This is only sound if the trait is object-safe. We say a method `m` on trait
`T` is object-safe if it is legal (in current Rust) to call `x.m(...)` where `x`
has type `&T`, i.e., `x` is a trait object. If all methods in `T` are object-
safe, then we say `T` is object-safe.
has type `&T`, i.e., `x` is a trait object. If all methods in `T` are object-safe,
then we say `T` is object-safe.
If we ignore this restriction we could allow code such as the following: