lib: fix typos found by codespell
This commit is contained in:
parent
e84d2c9e5f
commit
18ebca3979
4 changed files with 4 additions and 4 deletions
|
@ -26,7 +26,7 @@ import (
|
|||
func GetSupportedGOARM() int {
|
||||
if runtime.GOARCH == "arm" && cpu.Initialized {
|
||||
// This CPU is an ARM (32-bit), and cpu.Initialized true means its
|
||||
// features could be retrived on current GOOS so that we can check
|
||||
// features could be retrieved on current GOOS so that we can check
|
||||
// for floating point hardware support.
|
||||
if cpu.ARM.HasVFPv3 {
|
||||
// This CPU has VFPv3 floating point hardware, which means it can
|
||||
|
|
|
@ -48,7 +48,7 @@ type DirCacher interface {
|
|||
// error. This isn't done at initialization as it isn't known whether
|
||||
// the root and intermediate directories need to be created or not.
|
||||
//
|
||||
// Most of the utility functions wil call FindRoot() on the caller's
|
||||
// Most of the utility functions will call FindRoot() on the caller's
|
||||
// behalf with the create flag passed in.
|
||||
//
|
||||
// The cache is safe for concurrent use
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Package errors provides error handling utilites.
|
||||
// Package errors provides error handling utilities.
|
||||
package errors
|
||||
|
||||
import (
|
||||
|
|
|
@ -116,7 +116,7 @@ func Write(out []byte) {
|
|||
// This enables virtual terminal processing on Windows 10 console,
|
||||
// adding native support for VT100 escape codes. When this terminal
|
||||
// package is used for output, the result is that the colorable library
|
||||
// don't have to decode the escapes and explicitely write text with color
|
||||
// don't have to decode the escapes and explicitly write text with color
|
||||
// formatting to the console using Windows API functions, but can simply
|
||||
// relay everything to stdout.
|
||||
func EnableColorsStdout() {
|
||||
|
|
Loading…
Reference in a new issue