]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #36762 - achanda:sockaddr_type, r=alexcrichton
authorAlex Crichton <alex@alexcrichton.com>
Wed, 12 Oct 2016 17:15:25 +0000 (10:15 -0700)
committerGitHub <noreply@github.com>
Wed, 12 Oct 2016 17:15:25 +0000 (10:15 -0700)
commit76fb6e776120be5622c80628791843734daec26e
treef5888ef42613e9df1315df2847a575775b2a00fa
parentacb50e3481a06089dbd13d860dadc7d8d7cd1649
parentd9e64301856354cc22aaf5b92bfc6ac8b1beb50e
Rollup merge of #36762 - achanda:sockaddr_type, r=alexcrichton

Add two functions to check type of SockAddr

These can be used to determine the type of the underlying IP
address

r? @alexcrichton
src/libstd/net/addr.rs