From 9eb6174b22fa4824869fc5e923b96847c2968462 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Barv=C3=AD=C5=99?= Date: Sat, 1 Apr 2023 14:58:33 +0200 Subject: [PATCH] Unreachable pattern (#501) --- library/src/meta/bibliography.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/library/src/meta/bibliography.rs b/library/src/meta/bibliography.rs index a81279e34..ac2dea750 100644 --- a/library/src/meta/bibliography.rs +++ b/library/src/meta/bibliography.rs @@ -74,7 +74,6 @@ pub struct BibliographyElem { pub style: BibliographyStyle, } - /// A list of bib file paths. #[derive(Debug, Default, Clone, Hash)] pub struct BibPaths(Vec); @@ -89,7 +88,6 @@ cast_to_value! { v: BibPaths => v.0.into() } - impl BibliographyElem { /// Find the document's bibliography. pub fn find(introspector: Tracked) -> StrResult { @@ -204,7 +202,6 @@ impl LocalName for BibliographyElem { match lang { Lang::GERMAN | Lang::FRENCH => "Bibliographie", Lang::CHINESE => "参考文献", - Lang::GERMAN => "Bibliographie", Lang::ITALIAN => "Bibliografia", Lang::RUSSIAN => "Библиография", Lang::ENGLISH | _ => "Bibliography",