Skip to content

Commit 3bb4d1a

Browse files
committed
Deprecate name OwnedSlice and don't use it
1 parent 1ee7f29 commit 3bb4d1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clean/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ impl<T, U> Clean<U> for ty::Binder<T> where T: Clean<U> {
112112
}
113113
}
114114

115-
impl<T: Clean<U>, U> Clean<Vec<U>> for syntax::owned_slice::OwnedSlice<T> {
115+
impl<T: Clean<U>, U> Clean<Vec<U>> for P<[T]> {
116116
fn clean(&self, cx: &DocContext) -> Vec<U> {
117117
self.iter().map(|x| x.clean(cx)).collect()
118118
}

0 commit comments

Comments
 (0)