summaryrefslogtreecommitdiff
path: root/library/src/meta
diff options
context:
space:
mode:
authorAlex Saveau <saveau.alexandre@gmail.com>2023-06-12 03:44:03 -0700
committerGitHub <noreply@github.com>2023-06-12 12:44:03 +0200
commit7049a4563403e653f5c1f816da3dfd9025c6787a (patch)
tree6c9378e0aea1b1de79d3b221d13b4c2f0a89945d /library/src/meta
parentc58a8fbd1dfedf571a47a3c8504067f6365c6cd4 (diff)
Fix a bunch of typos + broken link (#1453)
Diffstat (limited to 'library/src/meta')
-rw-r--r--library/src/meta/numbering.rs2
-rw-r--r--library/src/meta/outline.rs4
-rw-r--r--library/src/meta/reference.rs2
3 files changed, 4 insertions, 4 deletions
diff --git a/library/src/meta/numbering.rs b/library/src/meta/numbering.rs
index ef0d0f70..08d35458 100644
--- a/library/src/meta/numbering.rs
+++ b/library/src/meta/numbering.rs
@@ -253,7 +253,7 @@ enum NumberingKind {
Hebrew,
SimplifiedChinese,
// TODO: Pick the numbering pattern based on languages choice.
- // As the `1st` numbering character of Chinese (Simplifed) and
+ // As the `1st` numbering character of Chinese (Simplified) and
// Chinese (Traditional) is same, we are unable to determine
// if the context is Simplified or Traditional by only this
// character.
diff --git a/library/src/meta/outline.rs b/library/src/meta/outline.rs
index cc657ffb..b898378e 100644
--- a/library/src/meta/outline.rs
+++ b/library/src/meta/outline.rs
@@ -126,7 +126,7 @@ pub struct OutlineElem {
/// - `{auto}`: Indents the numbering of the nested entry with the title of
/// its parent entry. This only has an effect if the entries are numbered
/// (e.g., via [heading numbering]($func/heading.numbering)).
- /// - [Relative length]($type/relative): Indents the item by this length
+ /// - [Relative length]($type/relative-length): Indents the item by this length
/// multiplied by its nesting level. Specifying `{2em}`, for instance,
/// would indent top-level headings (not nested) by `{0em}`, second level
/// headings by `{2em}` (nested once), third-level headings by `{4em}`
@@ -135,7 +135,7 @@ pub struct OutlineElem {
/// with a function. That function receives the nesting level as a
/// parameter (starting at 0 for top-level headings/elements) and can
/// return a relative length or content making up the indent. For example,
- /// `{n => n * 2em}` would be equivalent to just specifiying `{2em}`,
+ /// `{n => n * 2em}` would be equivalent to just specifying `{2em}`,
/// while `{n => [→ ] * n}` would indent with one arrow per nesting
/// level.
///
diff --git a/library/src/meta/reference.rs b/library/src/meta/reference.rs
index 42450b97..1d8bd118 100644
--- a/library/src/meta/reference.rs
+++ b/library/src/meta/reference.rs
@@ -254,7 +254,7 @@ cast! {
/// Marks an element as being able to be referenced. This is used to implement
/// the `@ref` element.
pub trait Refable {
- /// The supplement, if not overriden by the reference.
+ /// The supplement, if not overridden by the reference.
fn supplement(&self) -> Content;
/// Returns the counter of this element.