mirror of
https://github.com/typst/typst
synced 2025-08-23 19:24: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>,
|
||||
|
||||
/// The language setting where the bibliography is.
|
||||
#[internal]
|
||||
#[synthesized]
|
||||
pub lang: Lang,
|
||||
|
||||
/// The region setting where the bibliography is.
|
||||
#[internal]
|
||||
#[synthesized]
|
||||
pub region: Option<Region>,
|
||||
}
|
||||
|
@ -110,12 +110,10 @@ pub struct CiteElem {
|
||||
pub style: Smart<Derived<CslSource, CslStyle>>,
|
||||
|
||||
/// The text language setting where the citation is.
|
||||
#[internal]
|
||||
#[synthesized]
|
||||
pub lang: Lang,
|
||||
|
||||
/// The text region setting where the citation is.
|
||||
#[internal]
|
||||
#[synthesized]
|
||||
pub region: Option<Region>,
|
||||
}
|
||||
|
@ -546,7 +546,6 @@ pub struct FigureCaption {
|
||||
pub counter: Counter,
|
||||
|
||||
/// The figure's location.
|
||||
#[internal]
|
||||
#[synthesized]
|
||||
pub figure_location: Location,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user