summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlberto Vilches <albertothedev@protonmail.com>2023-05-02 20:45:18 +0200
committerGitHub <noreply@github.com>2023-05-02 20:45:18 +0200
commitbcc014c4e177cc4e8cf5ca8c24990908b507c0f8 (patch)
treeab68ef48c7c456dfa983981d8ae60d56c7587c33 /src
parentc7f17bf25a1f814adefb4d4bb576afd069770581 (diff)
fix: typos (#1074)
Diffstat (limited to 'src')
-rw-r--r--src/doc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc.rs b/src/doc.rs
index 5f62506a..0a744ffc 100644
--- a/src/doc.rs
+++ b/src/doc.rs
@@ -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() {