Skip to content

Commit

Permalink
libcore: Modernize a docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
erickt authored and graydon committed Jul 24, 2012
1 parent cbaa602 commit a762c72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ pure fn slice<T: copy>(v: &[const T], start: uint, end: uint) -> ~[T] {
ret result;
}

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

0 comments on commit a762c72

Please sign in to comment.