-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"object safe" is now "dyn-compatible" #199
base: master
Are you sure you want to change the base?
Conversation
rinja/src/lib.rs
Outdated
/// This trades reduced performance (mostly due to writing into `dyn Write`) for object safety. | ||
/// This trades reduced performance (mostly due to writing into `dyn Write`) for dyn-compatibility. | ||
/// | ||
/// [`dyn`-compatible]: <https://doc.rust-lang.org/stable/reference/items/traits.html#object-safety> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Waiting for rust-lang/reference#1512 to land, so the link fragment can be updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implemented in rust-lang/reference#1666. The new version is not live, yet, but it will be soon enough.
d13873c
to
c25e149
Compare
The phrase was changed in <rust-lang/rust#130852>.
c25e149
to
c02b251
Compare
@@ -170,9 +170,11 @@ impl<T: Template + ?Sized> Template for &T { | |||
const MIME_TYPE: &'static str = T::MIME_TYPE; | |||
} | |||
|
|||
/// Object-safe wrapper trait around [`Template`] implementers | |||
/// [`dyn`-compatible] wrapper trait around [`Template`] implementers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// [`dyn`-compatible] wrapper trait around [`Template`] implementers | |
/// [`dyn`-compatible] wrapper trait around [`Template`] implementors. |
In rust docs it's "implementors" so I suppose it's the correct word. ^^'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, thank you for proofreading!
(I'm like 99% sure that in English you are supposed to role a dice when to write -ter and when to write -tor. :D)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, and let's not even try to speak english, the pronunciation is even more random. 😆
The phrase was changed in rust-lang/rust#130852.