From ce7443824706ca1e33654a7cf4f7917863114c40 Mon Sep 17 00:00:00 2001
From: dongjinlong
Date: Tue, 26 Mar 2024 22:09:12 +0800
Subject: [PATCH] chore: fix some comments
Signed-off-by: dongjinlong
---
doc/_stdlib_gen/stdlib-content.jsonnet | 2 +-
doc/ref/language.html.md | 2 +-
doc/ref/stdlib.html | 2 +-
python/_jsonnet_test.py | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/_stdlib_gen/stdlib-content.jsonnet b/doc/_stdlib_gen/stdlib-content.jsonnet
index 38df7dbe1..1c3ba9eee 100644
--- a/doc/_stdlib_gen/stdlib-content.jsonnet
+++ b/doc/_stdlib_gen/stdlib-content.jsonnet
@@ -376,7 +376,7 @@ local html = import 'html.libsonnet';
params: ['str'],
availableSince: '0.20.0',
description: |||
- Returns true if the the given string is of zero length.
+ Returns true if the given string is of zero length.
|||,
},
{
diff --git a/doc/ref/language.html.md b/doc/ref/language.html.md
index 91958cd43..792e29b67 100644
--- a/doc/ref/language.html.md
+++ b/doc/ref/language.html.md
@@ -478,7 +478,7 @@ By default nested objects are completely replaced when overriden. For example:
```
{
nested_object: {
- field_of_the_nested_object: "will dissappear"
+ field_of_the_nested_object: "will disappear"
},
not_touched: "still there",
}
diff --git a/doc/ref/stdlib.html b/doc/ref/stdlib.html
index 543264824..391969de4 100644
--- a/doc/ref/stdlib.html
+++ b/doc/ref/stdlib.html
@@ -1070,7 +1070,7 @@
- Returns true if the the given string is of zero length.
+ Returns true if the given string is of zero length.
diff --git a/python/_jsonnet_test.py b/python/_jsonnet_test.py
index 0e159ba1d..ddb09c74e 100644
--- a/python/_jsonnet_test.py
+++ b/python/_jsonnet_test.py
@@ -21,7 +21,7 @@
# Returns (full_path, contents) if the file was successfully retrieved,
# (full_path, None) if file not found, or throws an exception when the path
-# is invalid or an IO error occured.
+# is invalid or an IO error occurred.
# It caches both hits and misses in the `cache` dict. Exceptions
# do not need to be cached, because they abort the computation anyway.
def try_path_cached(cache, dir, rel):