File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
branches/snap-stage3/src/libcollections Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: cb9c1e0e702f4a1a5dfc909b15b74e8556013c06
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: c9abc01a985a7634b8fc73d9862ecea6181c3c11
4
+ refs/heads/snap-stage3: 12e851208ddd40ca3e1b56badf5eaa32986f55a8
5
5
refs/heads/try: 73b8f60b60d8a2a7ca5a7d49d59771350b867951
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change @@ -912,8 +912,9 @@ impl<T> Vec<T> {
912
912
/// assert!(vec.tailn(2) == [3, 4]);
913
913
/// ```
914
914
#[ inline]
915
+ #[ deprecated = "use slice_from" ]
915
916
pub fn tailn < ' a > ( & ' a self , n : uint ) -> & ' a [ T ] {
916
- self . as_slice ( ) . tailn ( n)
917
+ self . as_slice ( ) . slice_from ( n)
917
918
}
918
919
919
920
/// Returns a reference to the last element of a vector, or `None` if it is
You can’t perform that action at this time.
0 commit comments