]> git.lizzy.rs Git - rust.git/commitdiff
Remove duplicate warnings
authorGuillaume Gomez <guillaume.gomez@huawei.com>
Wed, 14 Sep 2022 18:23:19 +0000 (20:23 +0200)
committerGuillaume Gomez <guillaume.gomez@huawei.com>
Wed, 14 Sep 2022 18:23:19 +0000 (20:23 +0200)
src/librustdoc/theme.rs

index 87cfe78e10cbd42a530b98728ad1cc05447705c7..ce0cb6c4559a30a8f9092d95d3319ebfb2bebe59 100644 (file)
@@ -133,7 +133,6 @@ fn parse_rules(
         }
         match rules.entry(rule) {
             Entry::Occupied(mut o) => {
-                eprintln!("Duplicated rule `{}` in CSS selector `{selector}`", o.key());
                 *o.get_mut() = value;
             }
             Entry::Vacant(v) => {
@@ -147,7 +146,6 @@ fn parse_rules(
 
     match paths.entry(selector) {
         Entry::Occupied(mut o) => {
-            eprintln!("Duplicated CSS selector: `{}`", o.key());
             let v = o.get_mut();
             for (key, value) in rules.into_iter() {
                 v.rules.insert(key, value);