summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Barvíř <barvirm@gmail.com>2023-04-01 14:58:33 +0200
committerGitHub <noreply@github.com>2023-04-01 14:58:33 +0200
commit9eb6174b22fa4824869fc5e923b96847c2968462 (patch)
treeca45690ef9a0903bc80b1d0f1f859daee72d440f
parent90e7d18f26f2043cdf5ecda0d46b0174006c4b59 (diff)
Unreachable pattern (#501)
-rw-r--r--library/src/meta/bibliography.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/library/src/meta/bibliography.rs b/library/src/meta/bibliography.rs
index a81279e3..ac2dea75 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<EcoString>);
@@ -89,7 +88,6 @@ cast_to_value! {
v: BibPaths => v.0.into()
}
-
impl BibliographyElem {
/// Find the document's bibliography.
pub fn find(introspector: Tracked<Introspector>) -> StrResult<Self> {
@@ -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",