summaryrefslogtreecommitdiffstats
path: root/crates/printer/src/json.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/printer/src/json.rs')
-rw-r--r--crates/printer/src/json.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/printer/src/json.rs b/crates/printer/src/json.rs
index 8443551b..d952f1f9 100644
--- a/crates/printer/src/json.rs
+++ b/crates/printer/src/json.rs
@@ -147,7 +147,7 @@ impl JSONBuilder {
/// is not limited to UTF-8 exclusively, which in turn implies that matches
/// may be reported that contain invalid UTF-8. Moreover, this printer may
/// also print file paths, and the encoding of file paths is itself not
-/// guarnateed to be valid UTF-8. Therefore, this printer must deal with the
+/// guaranteed to be valid UTF-8. Therefore, this printer must deal with the
/// presence of invalid UTF-8 somehow. The printer could silently ignore such
/// things completely, or even lossily transcode invalid UTF-8 to valid UTF-8
/// by replacing all invalid sequences with the Unicode replacement character.