]> Cypherpunks repositories - gostls13.git/commitdiff
path/filepath: fixed misaligned comment.
authorKay Zhu <kayzhu@google.com>
Tue, 11 Mar 2014 21:34:07 +0000 (14:34 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 11 Mar 2014 21:34:07 +0000 (14:34 -0700)
The comment for 'Clean' function is prepended with spaces instead of
a single tab, resulting in visually misaligned comment in the generated
documentation.

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/73840043

src/pkg/path/filepath/path.go

index 65d29bf9f9db6f149393501cc800c1e48b2ba951..71603cc5946ade3dd91dfc2aa4cb90e4b6cab23b 100644 (file)
@@ -67,7 +67,7 @@ const (
 //        along with the non-.. element that precedes it.
 //     4. Eliminate .. elements that begin a rooted path:
 //        that is, replace "/.." by "/" at the beginning of a path,
-//         assuming Separator is '/'.
+//        assuming Separator is '/'.
 //
 // The returned path ends in a slash only if it represents a root directory,
 // such as "/" on Unix or `C:\` on Windows.