Improvements to BTreeSet documentation.#38208
Conversation
2e7deb7 to
dfd8739
Compare
GuillaumeGomez
left a comment
There was a problem hiding this comment.
Just a few nits and should be good to go!
src/libcollections/btree/set.rs
Outdated
There was a problem hiding this comment.
a BTreeSet's itemS?
EDIT: Actually, it can be understood differently. Well, leaving this comment here anyway.
src/libcollections/btree/set.rs
Outdated
src/libcollections/btree/set.rs
Outdated
src/libcollections/btree/set.rs
Outdated
src/libcollections/btree/set.rs
Outdated
src/libcollections/btree/set.rs
Outdated
src/libcollections/btree/set.rs
Outdated
src/libcollections/btree/set.rs
Outdated
dfd8739 to
4983cce
Compare
|
Comments have been addressed. |
|
Thanks! I think one commit would have been more than enough here, but whatever! :p @bors: r+ rollup |
|
📌 Commit 4983cce has been approved by |
|
@bors r- Looks like there are link errors |
4983cce to
a4fcd79
Compare
|
I think I fixed the links. Will wait for Travis. |
|
Seems not. ;) |
|
@GuillaumeGomez Can you find the error in the logs? I can't seem to find it. Maybe I'll force push. |
a4fcd79 to
5ef15ef
Compare
5ef15ef to
457c282
Compare
|
Didn't find it either. I restarted the build. |
src/libcollections/btree/set.rs
Outdated
| /// An owning iterator over a `BTreeSet`'s items. | ||
| /// | ||
| /// This structure is created by the [`into_iter()`] method on [`BTreeSet`] | ||
| /// [`BTreeSet`] (provided by the [`IntoIterator`] trait). |
There was a problem hiding this comment.
Am I misunderstanding the syntax or are there two BTreeSets in a row here?
There was a problem hiding this comment.
If one writes:
```rust
[`BTreeSet`] (hello world)
[`BTreeSet`]: https://google.com
```
rustdoc will treat this as a link to the url "https://hello world" which is not what we want. Instead, we have to write
```rust
[`BTreeSet`][`BTreeSet`] (hello world)
[`BTreeSet`]: https://google.com
```
which will link to https://google.com
|
I don't see any errors, so I'm going to consider the links to be fixed. @bors r=GuillaumeGomez rollup |
|
📌 Commit 457c282 has been approved by |
…omez Improvements to `BTreeSet` documentation. None
|
@bors r- |
|
⌛ Testing commit b4ed584 with merge 318c412... |
|
💔 Test failed - auto-mac-64-opt-rustbuild |
|
You broke the CI again. :p @bors: r- |
|
@bors retry |
|
@bors r=GuillaumeGomez |
|
📌 Commit b4ed584 has been approved by |
|
@GuillaumeGomez The error you pasted isn't for my latest commit. |
|
@bors: r=GuillaumeGomez |
|
💡 This pull request was already approved, no need to approve it again.
|
|
📌 Commit b4ed584 has been approved by |
|
Hm bors doesn't seem to want to move this out of the failed state. I'm going to close and reopen to see if that works. |
|
@bors: r+ |
|
💡 This pull request was already approved, no need to approve it again.
|
|
📌 Commit b4ed584 has been approved by |
|
@frewsxcv looks like bors is getting confused here unfortunately. Want to |
b4ed584 to
fe0d092
Compare
|
Done. |
|
@bors: r+ |
|
📌 Commit fe0d092 has been approved by |
|
Looks like that did the trick! |
Improvements to `BTreeSet` documentation. None
Rollup of 29 pull requests - Successful merges: #37761, #38006, #38131, #38150, #38158, #38171, #38208, #38215, #38236, #38245, #38289, #38302, #38315, #38346, #38388, #38395, #38398, #38418, #38432, #38451, #38463, #38468, #38470, #38471, #38472, #38478, #38486, #38493, #38498 - Failed merges: #38271, #38483
No description provided.