Fixed typo in the new outline docs (#5772)

This commit is contained in:
Andrew Voynov 2025-01-28 13:08:12 +03:00 committed by GitHub
parent 85d1778974
commit 9665eecdb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -445,9 +445,9 @@ impl OutlineEntry {
///
/// If the parent outline's [`indent`]($outline.indent) is `{auto}`, the
/// inner content of all entries at level `N` is aligned with the prefix of
/// all entries at with level `N + 1`, leaving at least `gap` space between
/// the prefix and inner parts. Furthermore, the `inner` contents of all
/// entries at the same level are aligned.
/// all entries at level `N + 1`, leaving at least `gap` space between the
/// prefix and inner parts. Furthermore, the `inner` contents of all entries
/// at the same level are aligned.
///
/// If the outline's indent is a fixed value or a function, the prefixes are
/// indented, but the inner contents are simply inset from the prefix by the
@ -461,13 +461,13 @@ impl OutlineEntry {
/// The `prefix` is aligned with the `inner` content of entries that
/// have level one less.
///
/// In the default show rule, this is just to `it.prefix()`, but it can
/// be freely customized.
/// In the default show rule, this is just `it.prefix()`, but it can be
/// freely customized.
prefix: Option<Content>,
/// The formatted inner content of the entry.
///
/// In the default show rule, this is just to `it.inner()`, but it can
/// be freely customized.
/// In the default show rule, this is just `it.inner()`, but it can be
/// freely customized.
inner: Content,
/// The gap between the prefix and the inner content.
#[named]