diff options
| author | Kevin K. <xkeviota@gmail.com> | 2025-03-12 13:45:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-12 12:45:57 +0000 |
| commit | 37bb632d2e9f1f779e15dd5c21ff1ceeadea4a17 (patch) | |
| tree | c1ec1563387091050f7f94c67d3d65d52df9b984 /crates/typst-library/src | |
| parent | 24b2f98bf9b8d7a8d8ad9f5f0585ab4317cd3666 (diff) | |
Fix missing words and paren in docs (#6046)
Diffstat (limited to 'crates/typst-library/src')
| -rw-r--r-- | crates/typst-library/src/model/bibliography.rs | 2 | ||||
| -rw-r--r-- | crates/typst-library/src/model/outline.rs | 2 | ||||
| -rw-r--r-- | crates/typst-library/src/text/raw.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/crates/typst-library/src/model/bibliography.rs b/crates/typst-library/src/model/bibliography.rs index a391e580..b11c6178 100644 --- a/crates/typst-library/src/model/bibliography.rs +++ b/crates/typst-library/src/model/bibliography.rs @@ -94,7 +94,7 @@ pub struct BibliographyElem { /// - A path string to load a bibliography file from the given path. For /// more details about paths, see the [Paths section]($syntax/#paths). /// - Raw bytes from which the bibliography should be decoded. - /// - An array where each item is one the above. + /// - An array where each item is one of the above. #[required] #[parse( let sources = args.expect("sources")?; diff --git a/crates/typst-library/src/model/outline.rs b/crates/typst-library/src/model/outline.rs index 7ceb530f..489c375e 100644 --- a/crates/typst-library/src/model/outline.rs +++ b/crates/typst-library/src/model/outline.rs @@ -388,7 +388,7 @@ pub struct OutlineEntry { /// space between the entry's body and the page number. When using show /// rules to override outline entries, it is thus recommended to wrap the /// fill in a [`box`] with fractional width, i.e. - /// `{box(width: 1fr, it.fill}`. + /// `{box(width: 1fr, it.fill)}`. /// /// When using [`repeat`], the [`gap`]($repeat.gap) property can be useful /// to tweak the visual weight of the fill. diff --git a/crates/typst-library/src/text/raw.rs b/crates/typst-library/src/text/raw.rs index 1ce8bfc6..d5c07424 100644 --- a/crates/typst-library/src/text/raw.rs +++ b/crates/typst-library/src/text/raw.rs @@ -188,7 +188,7 @@ pub struct RawElem { /// - A path string to load a syntax file from the given path. For more /// details about paths, see the [Paths section]($syntax/#paths). /// - Raw bytes from which the syntax should be decoded. - /// - An array where each item is one the above. + /// - An array where each item is one of the above. /// /// ````example /// #set raw(syntaxes: "SExpressions.sublime-syntax") |
