From 70ab2e9f03ba8ba21dec4fcad0e6ee5ad310c5b4 Mon Sep 17 00:00:00 2001 From: Elara Musayelyan Date: Sat, 5 Nov 2022 20:54:45 -0700 Subject: [PATCH] Fix typo --- navigation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/navigation.go b/navigation.go index faecd50..bc6dfd9 100644 --- a/navigation.go +++ b/navigation.go @@ -122,7 +122,7 @@ type NavigationEvent struct { Progress uint8 } -var ErrNavProgress = errors.New("progress needs to between 0 and 100") +var ErrNavProgress = errors.New("progress needs to be between 0 and 100") // Navigation sends a NavigationEvent to the watch func (i *Device) SetNavigation(ev NavigationEvent) error {