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/layout | |
| parent | 1d42d6674c5bbeca2be1ca9a35dccd71b9346228 (diff) | |
Allow passing `region` to LocalName (#926)
Diffstat (limited to 'library/src/layout')
| -rw-r--r-- | library/src/layout/table.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/layout/table.rs b/library/src/layout/table.rs index 9ca6a137..6e3e6330 100644 --- a/library/src/layout/table.rs +++ b/library/src/layout/table.rs @@ -285,7 +285,7 @@ impl<T: Into<Value>> From<Celled<T>> for Value { } impl LocalName for TableElem { - 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 => "Tabell", |
