Fix phrasing of iff (if and only if) in docs (#6713)

This commit is contained in:
Robin 2025-08-07 17:10:25 +02:00 committed by GitHub
parent 3119ba3104
commit 7546bfff74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

@ -72,7 +72,7 @@ pub struct CurveElem {
/// How to [stroke] the curve. This can be:
///
/// Can be set to `{none}` to disable the stroke or to `{auto}` for a
/// stroke of `{1pt}` black if and if only if no fill is given.
/// stroke of `{1pt}` black if and only if no fill is given.
///
/// ```example
/// #let down = curve.line((40pt, 40pt), relative: true)

View File

@ -50,7 +50,7 @@ pub struct PathElem {
/// How to [stroke] the path. This can be:
///
/// Can be set to `{none}` to disable the stroke or to `{auto}` for a
/// stroke of `{1pt}` black if and if only if no fill is given.
/// stroke of `{1pt}` black if and only if no fill is given.
#[fold]
pub stroke: Smart<Option<Stroke>>,

View File

@ -38,7 +38,7 @@ pub struct PolygonElem {
/// How to [stroke] the polygon. This can be:
///
/// Can be set to `{none}` to disable the stroke or to `{auto}` for a
/// stroke of `{1pt}` black if and if only if no fill is given.
/// stroke of `{1pt}` black if and only if no fill is given.
#[fold]
pub stroke: Smart<Option<Stroke>>,

View File

@ -36,7 +36,7 @@ pub struct RectElem {
/// How to stroke the rectangle. This can be:
///
/// - `{none}` to disable stroking
/// - `{auto}` for a stroke of `{1pt + black}` if and if only if no fill is
/// - `{auto}` for a stroke of `{1pt + black}` if and only if no fill is
/// given.
/// - Any kind of [stroke]
/// - A dictionary describing the stroke for each side individually. The