aboutsummaryrefslogtreecommitdiff
path: root/src/libs/intertrait/cast
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-08-28 13:24:39 +0200
committerHampusM <hampus@hampusmat.com>2022-08-28 13:37:14 +0200
commitf91c4ce73786a69e4ec72f69ef4d9d5f03ac5886 (patch)
tree6ac016e731eaf7e6fabdbcf12b84852cbc5af475 /src/libs/intertrait/cast
parentdd6ae0c8643f08114469ccff66615b45ccf5e13e (diff)
style: add rustfmt config options
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>(