rename as_boxed_view_ext to into_boxed_view_ext

This commit is contained in:
Henrik Friedrichsen
2021-03-22 22:36:33 +01:00
parent 5295eb4b5a
commit d2edfc3caf
12 changed files with 15 additions and 15 deletions

View File

@@ -77,11 +77,11 @@ impl<V: ViewExt> ViewExt for NamedView<V> {
}
pub trait IntoBoxedViewExt {
fn as_boxed_view_ext(self) -> Box<dyn ViewExt>;
fn into_boxed_view_ext(self) -> Box<dyn ViewExt>;
}
impl<V: ViewExt> IntoBoxedViewExt for V {
fn as_boxed_view_ext(self) -> Box<dyn ViewExt> {
fn into_boxed_view_ext(self) -> Box<dyn ViewExt> {
Box::new(self)
}
}