diff options
| author | Alberto Vilches <albertothedev@protonmail.com> | 2023-05-02 20:45:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-02 20:45:18 +0200 |
| commit | bcc014c4e177cc4e8cf5ca8c24990908b507c0f8 (patch) | |
| tree | ab68ef48c7c456dfa983981d8ae60d56c7587c33 | |
| parent | c7f17bf25a1f814adefb4d4bb576afd069770581 (diff) | |
fix: typos (#1074)
| -rw-r--r-- | library/src/meta/context.rs | 2 | ||||
| -rw-r--r-- | src/doc.rs | 2 | ||||
| -rw-r--r-- | tests/README.md | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/library/src/meta/context.rs b/library/src/meta/context.rs index 7bc57e97..ad466305 100644 --- a/library/src/meta/context.rs +++ b/library/src/meta/context.rs @@ -8,7 +8,7 @@ use crate::prelude::*; /// /// ```example /// #locate(loc => [ -/// My locatation: \ +/// My location: \ /// #loc.position()! /// ]) /// ``` @@ -489,7 +489,7 @@ impl TextItem { impl Debug for TextItem { fn fmt(&self, f: &mut Formatter) -> fmt::Result { - // This is only a rough approxmiation of the source text. + // This is only a rough approximation of the source text. f.write_str("Text(\"")?; for glyph in &self.glyphs { for c in glyph.c.escape_debug() { diff --git a/tests/README.md b/tests/README.md index 627c4caf..78967a96 100644 --- a/tests/README.md +++ b/tests/README.md @@ -53,7 +53,7 @@ testit --pdf ## Update expected images If you created a new test or fixed a bug in an existing test, you need to update the reference image used for comparison. For this, you can use the -`UPDATE_EXPECT` environment varariable or the `--update` flag: +`UPDATE_EXPECT` environment variable or the `--update` flag: ```bash testit mytest --update ``` |
