From a315ad220c3f89e1cf5ff788cdca54a1a6252f9e Mon Sep 17 00:00:00 2001 From: xkevio Date: Tue, 4 Mar 2025 17:54:31 +0100 Subject: [PATCH] chore: rename parameter --- crates/typst-library/src/model/bibliography.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/typst-library/src/model/bibliography.rs b/crates/typst-library/src/model/bibliography.rs index 5eb2a6549..3be134ea7 100644 --- a/crates/typst-library/src/model/bibliography.rs +++ b/crates/typst-library/src/model/bibliography.rs @@ -480,11 +480,11 @@ fn measure_prefix( /// entry with the given prefix inset. fn compute_auto_indent( introspector: Tracked, - outline_loc: Location, + bibliography_loc: Location, styles: StyleChain, prefix_inset: Option, ) -> Option { - let indent = query_prefix_width(introspector, outline_loc); + let indent = query_prefix_width(introspector, bibliography_loc); let fallback = Em::new(1.2).resolve(styles); prefix_inset.map(|p| p.max(indent.unwrap_or(fallback))) }