Fix a copy-paste typo in CircleElem's docs (#534)

This commit is contained in:
SekoiaTree 2023-04-02 19:55:25 +02:00 committed by GitHub
parent b469f30c83
commit c799421879
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")?,