From fdd0179bb1fdd70d405929b78c7d2fb6b61369b0 Mon Sep 17 00:00:00 2001 From: Martin Möhrmann Date: Wed, 24 Feb 2016 11:55:20 +0100 Subject: all: fix typos and spelling Change-Id: Icd06d99c42b8299fd931c7da821e1f418684d913 Reviewed-on: https://go-review.googlesource.com/19829 Reviewed-by: Brad Fitzpatrick Run-TryBot: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- src/path/filepath/path_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/path/filepath') diff --git a/src/path/filepath/path_windows.go b/src/path/filepath/path_windows.go index ef6e7ca93f..41c57df738 100644 --- a/src/path/filepath/path_windows.go +++ b/src/path/filepath/path_windows.go @@ -121,7 +121,7 @@ func join(elem []string) string { // joinNonEmpty is like join, but it assumes that the first element is non-empty. func joinNonEmpty(elem []string) string { if len(elem[0]) == 2 && elem[0][1] == ':' { - // First element is drive leter without terminating slash. + // First element is drive letter without terminating slash. // Keep path relative to current directory on that drive. return Clean(elem[0] + strings.Join(elem[1:], string(Separator))) } -- cgit v1.3