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
|
/// 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")?,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue