]> git.maquefel.me Git - brevno-suite/hugo/commitdiff
Fix some typos
authorhuajin tong <137764712+thirdkeyword@users.noreply.github.com>
Thu, 28 Nov 2024 10:20:02 +0000 (18:20 +0800)
committerGitHub <noreply@github.com>
Thu, 28 Nov 2024 10:20:02 +0000 (11:20 +0100)
common/hugo/hugo.go
hugolib/doctree/nodeshifttree.go
markup/blackfriday/anchors.go

index 11ec40e0b6a74d4baf9c34992a8e2bbd57e1fb72..e480baa94ea357970271cf2c39c721c242b5b360 100644 (file)
@@ -426,7 +426,7 @@ func DeprecateLevel(item, alternative, version string, level logg.Level) {
        loggers.Log().Logger().WithLevel(level).WithField(loggers.FieldNameCmd, "deprecated").Logf(msg)
 }
 
-// We ususally do about one minor version a month.
+// We usually do about one minor version a month.
 // We want people to run at least the current and previous version without any warnings.
 // We want people who don't update Hugo that often to see the warnings and errors before we remove the feature.
 func deprecationLogLevelFromVersion(ver string) logg.Level {
index 36382c2d7227de6efed823f62e8dafce82676195..497e9f02eb2b8974d580fdd65cc00424a6dc3b0e 100644 (file)
@@ -59,7 +59,7 @@ type (
 )
 
 // NodeShiftTree is the root of a tree that can be shaped using the Shape method.
-// Note that multipled shapes of the same tree is meant to be used concurrently,
+// Note that multiplied shapes of the same tree is meant to be used concurrently,
 // so use the applicable locking when needed.
 type NodeShiftTree[T any] struct {
        tree *radix.Tree
index 7b0b418545d55d8f76ce55af80580bc2f96a1fb7..e00c24c9a15648a32fa4826d37d89a3ecac0a5e3 100644 (file)
@@ -11,7 +11,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-// Package blackfriday holds some compability functions for the old Blackfriday v1 Markdown engine.
+// Package blackfriday holds some compatibility functions for the old Blackfriday v1 Markdown engine.
 package blackfriday
 
 import "unicode"