Skip to content

Commit

Permalink
Auto merge of #25839 - bluss:str-split-at-impl, r=alexcrichton
Browse files Browse the repository at this point in the history
Implement RFC rust-lang/rfcs#1123

Add str method str::split_at(mid: usize) -> (&str, &str).

Also a minor cleanup in the collections::str module. Remove redundant slicing of self.
  • Loading branch information
bors committed Jun 11, 2015
2 parents 01ab4f7 + 1112a05 commit fbb1354
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 45 deletions.
Loading

0 comments on commit fbb1354

Please sign in to comment.