Skip to content

Commit a762c72

Browse files
ericktgraydon
authored andcommitted
libcore: Modernize a docstring
1 parent cbaa602 commit a762c72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/vec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ pure fn slice<T: copy>(v: &[const T], start: uint, end: uint) -> ~[T] {
313313
ret result;
314314
}
315315

316-
#[doc = "Return a slice that points into another slice."]
316+
/// Return a slice that points into another slice.
317317
pure fn view<T>(v: &[T], start: uint, end: uint) -> &[T] {
318318
assert (start <= end);
319319
assert (end <= len(v));

0 commit comments

Comments
 (0)