Skip to content
Permalink
Browse files

Fix theme-checker failure

  • Loading branch information...
GuillaumeGomez committed May 25, 2019
1 parent 8b36867 commit cfd754d8929db49a699f8e18ab7ab1cb78354a49
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/librustdoc/theme.rs
@@ -110,7 +110,7 @@ fn load_css_events(v: &[u8]) -> Vec<Events> {
let mut pos = 0;
let mut events = Vec::with_capacity(100);

while pos < v.len() - 1 {
while pos + 1 < v.len() {
match v[pos] {
b'/' if pos + 1 < v.len() && v[pos + 1] == b'*' => {
events.push(Events::StartComment(pos));

0 comments on commit cfd754d

Please sign in to comment.
You can’t perform that action at this time.