diff options
| author | Josh Triplett <josh@joshtriplett.org> | 2016-09-03 15:29:16 -0700 |
|---|---|---|
| committer | Josh Triplett <josh@joshtriplett.org> | 2016-09-03 15:29:16 -0700 |
| commit | fe8438d4a2c96295dcee95af415b9762c84ec6c6 (patch) | |
| tree | 7dab201a420a3b8ebc7407e048426dc13274d3a2 /src/libstd/sys/unix/net.rs | |
| parent | d748fa6ecccf6f5b4c7ae4abee0a2d206b165de2 (diff) | |
| download | rust-fe8438d4a2c96295dcee95af415b9762c84ec6c6.tar.gz rust-fe8438d4a2c96295dcee95af415b9762c84ec6c6.zip | |
Fix "field is never used" warning to take unions into account
Rather than saying "struct or union" or adding logic to determine the type of the item, just change the message to "field is never used", dropping the "struct". Update tests accordingly.
Diffstat (limited to 'src/libstd/sys/unix/net.rs')
0 files changed, 0 insertions, 0 deletions
