diff options
| author | Max <me@mkor.je> | 2024-12-20 12:35:57 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-20 12:35:57 +0000 |
| commit | bb38a01d0625d5bdab0af50daf479e60c774d90e (patch) | |
| tree | b588b09ce44b698e7602d84ec3e43dd86a47b552 /crates/typst-library/src/layout | |
| parent | 39706fe42f269b3a283eeff9b595480631737159 (diff) | |
Fix math size resolving (#5596)
Diffstat (limited to 'crates/typst-library/src/layout')
| -rw-r--r-- | crates/typst-library/src/layout/rel.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/crates/typst-library/src/layout/rel.rs b/crates/typst-library/src/layout/rel.rs index 30441a42..76d73678 100644 --- a/crates/typst-library/src/layout/rel.rs +++ b/crates/typst-library/src/layout/rel.rs @@ -86,12 +86,6 @@ impl Rel<Length> { None } } - - /// Convert to a relative length with the absolute part resolved at the - /// given font size. - pub fn at(self, font_size: Abs) -> Rel<Abs> { - self.map(|abs| abs.at(font_size)) - } } impl<T: Numeric + Debug> Debug for Rel<T> { |
