mirror of
https://github.com/typst/typst
synced 2025-08-24 03:34:14 +08:00
Remove #[internal]
annotation for #[synthesized]
fields
This commit is contained in:
parent
b847a3d3a8
commit
bea97e1f8b
@ -142,12 +142,10 @@ pub struct BibliographyElem {
|
|||||||
pub style: Derived<CslSource, CslStyle>,
|
pub style: Derived<CslSource, CslStyle>,
|
||||||
|
|
||||||
/// The language setting where the bibliography is.
|
/// The language setting where the bibliography is.
|
||||||
#[internal]
|
|
||||||
#[synthesized]
|
#[synthesized]
|
||||||
pub lang: Lang,
|
pub lang: Lang,
|
||||||
|
|
||||||
/// The region setting where the bibliography is.
|
/// The region setting where the bibliography is.
|
||||||
#[internal]
|
|
||||||
#[synthesized]
|
#[synthesized]
|
||||||
pub region: Option<Region>,
|
pub region: Option<Region>,
|
||||||
}
|
}
|
||||||
|
@ -110,12 +110,10 @@ pub struct CiteElem {
|
|||||||
pub style: Smart<Derived<CslSource, CslStyle>>,
|
pub style: Smart<Derived<CslSource, CslStyle>>,
|
||||||
|
|
||||||
/// The text language setting where the citation is.
|
/// The text language setting where the citation is.
|
||||||
#[internal]
|
|
||||||
#[synthesized]
|
#[synthesized]
|
||||||
pub lang: Lang,
|
pub lang: Lang,
|
||||||
|
|
||||||
/// The text region setting where the citation is.
|
/// The text region setting where the citation is.
|
||||||
#[internal]
|
|
||||||
#[synthesized]
|
#[synthesized]
|
||||||
pub region: Option<Region>,
|
pub region: Option<Region>,
|
||||||
}
|
}
|
||||||
|
@ -546,7 +546,6 @@ pub struct FigureCaption {
|
|||||||
pub counter: Counter,
|
pub counter: Counter,
|
||||||
|
|
||||||
/// The figure's location.
|
/// The figure's location.
|
||||||
#[internal]
|
|
||||||
#[synthesized]
|
#[synthesized]
|
||||||
pub figure_location: Location,
|
pub figure_location: Location,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user