mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
Fix a copy-paste typo in CircleElem's docs (#534)
This commit is contained in:
parent
b469f30c83
commit
c799421879
@ -382,7 +382,7 @@ pub struct CircleElem {
|
||||
/// The circle's width. This is mutually exclusive with `radius` and
|
||||
/// `height`.
|
||||
///
|
||||
/// In contrast to `size`, this can be relative to the parent container's
|
||||
/// In contrast to `radius`, this can be relative to the parent container's
|
||||
/// width.
|
||||
#[parse(
|
||||
let size = args
|
||||
@ -398,7 +398,7 @@ pub struct CircleElem {
|
||||
/// The circle's height.This is mutually exclusive with `radius` and
|
||||
/// `width`.
|
||||
///
|
||||
/// In contrast to `size`, this can be relative to the parent container's
|
||||
/// In contrast to `radius`, this can be relative to the parent container's
|
||||
/// height.
|
||||
#[parse(match size {
|
||||
None => args.named("height")?,
|
||||
|
Loading…
x
Reference in New Issue
Block a user