From 62e677f3384eeb6a988dec1d866cf9dd65a68b66 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Fri, 27 Dec 2024 07:58:23 -0500 Subject: [PATCH] Spelling (#28) * spelling: directories * spelling: highway Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- examples_test.go | 2 +- highwayhash_arm64.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples_test.go b/examples_test.go index 775f2ef..bc5ba22 100644 --- a/examples_test.go +++ b/examples_test.go @@ -81,7 +81,7 @@ func ExampleNew64() { lookupMap := make(map[uint64]string, len(dir)) for _, file := range dir { if file.IsDir() { - continue // skip sub-directroies in our example + continue // skip sub-directories in our example } address, err := AddressOf(key, file.Name()) if err != nil { diff --git a/highwayhash_arm64.go b/highwayhash_arm64.go index d94e482..dfff06e 100644 --- a/highwayhash_arm64.go +++ b/highwayhash_arm64.go @@ -24,7 +24,7 @@ func init() { if useSVE { if vl, _ := getVectorLength(); vl != 256 { // - // Since HighwahHash is designed for AVX2, + // Since HighwayHash is designed for AVX2, // SVE/SVE2 instructions only run correctly // for vector length of 256 //