Add stressful comment

This commit is contained in:
Lucien Greathouse 2018-06-06 00:07:55 -07:00
parent 9af6c9cfd9
commit d2a08c5e34

View file

@ -24,6 +24,8 @@ pub struct RbxInstance {
pub parent: Option<Id>, pub parent: Option<Id>,
} }
// This seems like a really bad idea?
// Why isn't there a blanket impl for this for all T?
impl<'a> From<&'a RbxInstance> for Cow<'a, RbxInstance> { impl<'a> From<&'a RbxInstance> for Cow<'a, RbxInstance> {
fn from(instance: &'a RbxInstance) -> Cow<'a, RbxInstance> { fn from(instance: &'a RbxInstance) -> Cow<'a, RbxInstance> {
Cow::Borrowed(instance) Cow::Borrowed(instance)