Replace "inset" with "offset" in outline.indented docs

"Inset" is used for containers as inner padding, while in this case the
content is just intended/offset to the right/left.

Co-authored-by: Laurenz <laurmaedje@gmail.com>
This commit is contained in:
Andrew Voynov 2025-06-04 19:51:27 +03:00
parent 494e6a6422
commit 8f20d2605f
No known key found for this signature in database
GPG Key ID: 1BE92DD685700329

View File

@ -450,8 +450,8 @@ impl OutlineEntry {
/// at the same level are aligned. /// at the same level are aligned.
/// ///
/// If the outline's indent is a fixed value or a function, the prefixes are /// 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 /// indented, but the inner contents are simply offset from the prefix by
/// specified `gap`, rather than aligning outline-wide. /// the specified `gap`, rather than aligning outline-wide.
#[func(contextual)] #[func(contextual)]
pub fn indented( pub fn indented(
&self, &self,