diff options
| author | pan93412 <pan93412@gmail.com> | 2023-04-26 17:30:03 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-26 11:30:03 +0200 |
| commit | a6df909a8d8018ef87b66b2128c6acfa9fb0599c (patch) | |
| tree | ec1717715dac6944543e13df8b54fef3a3eae038 /library/src/text | |
| parent | 1d42d6674c5bbeca2be1ca9a35dccd71b9346228 (diff) | |
Allow passing `region` to LocalName (#926)
Diffstat (limited to 'library/src/text')
| -rw-r--r-- | library/src/text/raw.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/text/raw.rs b/library/src/text/raw.rs index 6cd1fc12..1c216483 100644 --- a/library/src/text/raw.rs +++ b/library/src/text/raw.rs @@ -201,7 +201,7 @@ impl Finalize for RawElem { } impl LocalName for RawElem { - fn local_name(&self, lang: Lang) -> &'static str { + fn local_name(&self, lang: Lang, _: Option<Region>) -> &'static str { match lang { Lang::ARABIC => "قائمة", Lang::BOKMÅL => "Utskrift", |
