Fix some typos

Signed-off-by: cuishuang <imcusg@gmail.com>
[foka@debian.org: Resolve merge conflict and squash 2 commits]
Signed-off-by: Anthony Fok <foka@debian.org>
This commit is contained in:
cuishuang
2022-03-10 12:01:05 +08:00
committed by Anthony Fok
parent bbd455fe79
commit 48c98a8d24
5 changed files with 5 additions and 5 deletions

View File

@@ -70,7 +70,7 @@ func (m PageMatcher) Matches(p Page) bool {
return true
}
// DecodeCascade decodes in which could be eiter a map or a slice of maps.
// DecodeCascade decodes in which could be either a map or a slice of maps.
func DecodeCascade(in any) (map[PageMatcher]maps.Params, error) {
m, err := maps.ToSliceStringMap(in)
if err != nil {