Add more elements in the sidebar#45766
Conversation
src/test/rustdoc/sidebar-items.rs
Outdated
There was a problem hiding this comment.
[00:59:22] 14: @has check failed
[00:59:22] `XPATH PATTERN` did not match
[00:59:22] // @has - '//*[@class="sidebar-title"]/a' 'Required Methods'
[00:59:22] 16: @has check failed
[00:59:22] `XPATH PATTERN` did not match
[00:59:22] // @has - '//*[@class="sidebar-title"]/a' 'Provided Methods'
[00:59:22] 18: @has check failed
[00:59:22] `XPATH PATTERN` did not match
[00:59:22] // @has - '//*[@class="sidebar-title"]/a' 'Associated Constants'
[00:59:22] 20: @has check failed
[00:59:22] `XPATH PATTERN` did not match
[00:59:22] // @has - '//*[@class="sidebar-title"]/a' 'Associated Types'
[00:59:22] 31: @has check failed
[00:59:22] `XPATH PATTERN` did not match
[00:59:22] // @has - '//*[@class="sidebar-title"]/a' 'Fields'
[00:59:22] 41: @has check failed
[00:59:22] `XPATH PATTERN` did not match
[00:59:22] // @has - '//*[@class="sidebar-title"]/a' 'Variants'
[00:59:22] 50: @has check failed
[00:59:22] `XPATH PATTERN` did not match
[00:59:22] // @has - '//*[@class="sidebar-title"]/a' 'Fields'
[00:59:22] 52: @has check failed
[00:59:22] `XPATH PATTERN` did not match
[00:59:22] // @has - '//*[@class="sidebar-links"]/a' 'u'
ef9b7ed to
18af3eb
Compare
|
Working! |
src/librustdoc/html/render.rs
Outdated
There was a problem hiding this comment.
Why aren't you using Escape? &s appear in type parameters for impls so need to be escaped which Escape will handle but this doens't.
There was a problem hiding this comment.
I didn't understand the second part of your comment (and to answer the first, I didn't know it existed, I'll update!).
There was a problem hiding this comment.
impl<'a> Add<&'a i32> for i32 is a valid thing to attempt to print, so the & in there should be escaped properly in the html.
|
r=me with @ollie27's comment (and with travis) |
18af3eb to
ac398a3
Compare
|
Updated, let's wait for travis now. |
|
Updated. |
|
@bors r=QuietMisdreavus Travis is green and the code is now using |
|
📌 Commit ac398a3 has been approved by |
…r=QuietMisdreavus Add more elements in the sidebar Fixes rust-lang#45740. r? @rust-lang/docs
Fixes #45740.
r? @rust-lang/docs