Auto merge of #4627 - integer32llc:document-libs-and-bins, r=matklad
authorbors <bors@rust-lang.org>
Wed, 25 Oct 2017 14:29:13 +0000 (14:29 +0000)
committerbors <bors@rust-lang.org>
Wed, 25 Oct 2017 14:29:13 +0000 (14:29 +0000)
commitb8f797624a8ae9258fe01a12b08f226dd1d18a1e
tree1d1b039d7be766e504dce5741cdc8cb3ea1fd88b
parent5b0865ed5dab9ccb3da7eb0614788fc4ffd43a71
parente98b9dbec8342a552c93ca23332d949880d1ecc7
Auto merge of #4627 - integer32llc:document-libs-and-bins, r=matklad

Document the lib if a lib and bin have the same name

Fixes #4341, as discussed in that issue.

- Removes the check that bailed if there was a  bin and lib with the
  same name
- Exclude bins with the same name as libs from the proposed targets to
  build when compiling docs
- Adjust tests to expect this behavior