diff --git a/crates/typst-layout/src/inline/prepare.rs b/crates/typst-layout/src/inline/prepare.rs index ac834e3cb..12f85449a 100644 --- a/crates/typst-layout/src/inline/prepare.rs +++ b/crates/typst-layout/src/inline/prepare.rs @@ -3,7 +3,6 @@ use unicode_bidi::{BidiInfo, Level as BidiLevel}; use super::*; -#[derive(Debug)] pub struct Run<'a> { pub item: Item<'a>, pub range: Range, diff --git a/crates/typst-library/src/model/bibliography.rs b/crates/typst-library/src/model/bibliography.rs index 1dc90ba0c..8056d4ab3 100644 --- a/crates/typst-library/src/model/bibliography.rs +++ b/crates/typst-library/src/model/bibliography.rs @@ -560,7 +560,6 @@ impl IntoValue for CslSource { /// memoization) for the whole document. This setup is necessary because /// citation formatting is inherently stateful and we need access to all /// citations to do it. -#[derive(Debug)] pub(super) struct Works { /// Maps from the location of a citation group to its rendered content. pub citations: HashMap>, @@ -593,7 +592,7 @@ impl Works { /// Context for generating the bibliography. struct Generator<'a> { - /// The routines that are used to evaluate mathematical material in citations. + /// The routines that is used to evaluate mathematical material in citations. routines: &'a Routines, /// The world that is used to evaluate mathematical material in citations. world: Tracked<'a, dyn World + 'a>, @@ -610,7 +609,7 @@ struct Generator<'a> { /// Details about a group of merged citations. All citations are put into groups /// of adjacent ones (e.g., `@foo @bar` will merge into a group of length two). -/// Even single citations will be put into groups of length one. +/// Even single citations will be put into groups of length ones. struct GroupInfo { /// The group's location. location: Location,