aboutsummaryrefslogtreecommitdiff
path: root/src/libs/intertrait/cast
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/intertrait/cast')
-rw-r--r--src/libs/intertrait/cast/arc.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/intertrait/cast/arc.rs b/src/libs/intertrait/cast/arc.rs
index 65ae1ef..94c0482 100644
--- a/src/libs/intertrait/cast/arc.rs
+++ b/src/libs/intertrait/cast/arc.rs
@@ -23,7 +23,8 @@ pub trait CastArc
) -> Result<Arc<OtherTrait>, CastError>;
}
-/// A blanket implementation of `CastArc` for traits extending `CastFrom`, `Sync`, and `Send`.
+/// A blanket implementation of `CastArc` for traits extending `CastFrom`, `Sync`, and
+/// `Send`.
impl<CastFromSelf: ?Sized + CastFromSync> CastArc for CastFromSelf
{
fn cast<OtherTrait: ?Sized + 'static>(