From d2a08c5e34b72f12902926e869683ebdc99fc887 Mon Sep 17 00:00:00 2001 From: Lucien Greathouse Date: Wed, 6 Jun 2018 00:07:55 -0700 Subject: [PATCH] Add stressful comment --- server/src/rbx.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/rbx.rs b/server/src/rbx.rs index 957f40cb..75c03a1a 100644 --- a/server/src/rbx.rs +++ b/server/src/rbx.rs @@ -24,6 +24,8 @@ pub struct RbxInstance { pub parent: Option, } +// 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> { fn from(instance: &'a RbxInstance) -> Cow<'a, RbxInstance> { Cow::Borrowed(instance)