]> git.lizzy.rs Git - rust.git/commit
rollup merge of #23097: alexcrichton/issue-23076
authorAlex Crichton <alex@alexcrichton.com>
Fri, 6 Mar 2015 23:37:56 +0000 (15:37 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 6 Mar 2015 23:37:56 +0000 (15:37 -0800)
commit3c2c516d0c4be32b003ab67132475f8fd7453e65
treef2a0fc4a2a940c156bc71f92e58d1e7d1e86ffd2
parent31af63748bbe62adab6bed6008deca67911bd0d2
parent65b4eda5a6f270f5c30beec66c59825aba0524b9
rollup merge of #23097: alexcrichton/issue-23076

The `rsplitn` call was called with 2 instead of 1 so the iterator would yield 3
items in some cases, not the 2 that it should have.

Closes #23076
src/libstd/net/addr.rs