/// It produces the following sequence of matching slices:
///
/// ([0 1], [a b])
-/// ([2], [c])
+/// (\[2\], \[c\])
/// ([3 4], [d e])
///
/// and the uneven remainder of either A or B is skipped.
}
impl<T> Rc<[T]> {
- /// Copy elements from slice into newly allocated Rc<[T]>
+ /// Copy elements from slice into newly allocated Rc<\[T\]>
///
/// Unsafe because the caller must either take ownership or bind `T: Copy`
unsafe fn copy_from_slice(v: &[T]) -> Rc<[T]> {
}
impl<T> Arc<[T]> {
- /// Copy elements from slice into newly allocated Arc<[T]>
+ /// Copy elements from slice into newly allocated Arc<\[T\]>
///
/// Unsafe because the caller must either take ownership or bind `T: Copy`.
unsafe fn copy_from_slice(v: &[T]) -> Arc<[T]> {
mod sealed_trait {
/// Trait which whitelists the allowed types to be used with [VaList::arg]
///
- /// [VaList::va_arg]: struct.VaList.html#method.arg
+ /// [VaList::arg]: struct.VaList.html#method.arg
#[unstable(
feature = "c_variadic",
reason = "the `c_variadic` feature has not been properly tested on \