Skip to content

Commit

Permalink
fix some typos
Browse files Browse the repository at this point in the history
Signed-off-by: thirdkeyword <[email protected]>
  • Loading branch information
thirdkeyword committed Apr 20, 2024
1 parent b1de03f commit 13221bf
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion common/hugo/hugo.go
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,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 {
Expand Down
2 changes: 1 addition & 1 deletion common/paths/pathparser.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ func (p *Path) norm(s string) string {
return s
}

// IdentifierBase satifies identity.Identity.
// IdentifierBase satisfies identity.Identity.
func (p *Path) IdentifierBase() string {
return p.Base()
}
Expand Down
2 changes: 1 addition & 1 deletion hugolib/doctree/nodeshifttree.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,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
Expand Down
2 changes: 1 addition & 1 deletion identity/identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ func (im *identityManager) String() string {
}

func (im *identityManager) forEeachIdentity(fn func(id Identity) bool) bool {
// The absense of a lock here is debliberate. This is currently opnly used on server reloads
// The absence of a lock here is deliberate. This is currently only used on server reloads
// in a single-threaded context.
for id := range im.ids {
if fn(id) {
Expand Down
2 changes: 1 addition & 1 deletion markup/blackfriday/anchors.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 13221bf

Please sign in to comment.