From 949f25e9800959756c3a26a4b24f5ef675517db2 Mon Sep 17 00:00:00 2001 From: Jordan Rose Date: Tue, 19 Oct 2021 15:44:59 -0700 Subject: [PATCH] bridge: Tweak a comment in TransformHelper to be more accurate --- rust/bridge/shared/src/support/transform_helper.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rust/bridge/shared/src/support/transform_helper.rs b/rust/bridge/shared/src/support/transform_helper.rs index fe883c3f..a2cedd73 100644 --- a/rust/bridge/shared/src/support/transform_helper.rs +++ b/rust/bridge/shared/src/support/transform_helper.rs @@ -18,7 +18,8 @@ impl TransformHelper { /// Extracts the value from the TransformHelper and transforms it as requested. /// /// This isn't an actual implementation of Into (or From) - /// because `U` could be anything, including types outside this crate. + /// because that would conflict with the identity implementation + /// `TransformHelper: From>`. pub(crate) fn into>(self) -> U { self.0.into() }