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 /// The circle's width. This is mutually exclusive with `radius` and
/// `height`. /// `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. /// width.
#[parse( #[parse(
let size = args let size = args
@ -398,7 +398,7 @@ pub struct CircleElem {
/// The circle's height.This is mutually exclusive with `radius` and /// The circle's height.This is mutually exclusive with `radius` and
/// `width`. /// `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. /// height.
#[parse(match size { #[parse(match size {
None => args.named("height")?, None => args.named("height")?,