aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/path
diff options
context:
space:
mode:
authorKay Zhu <kayzhu@google.com>2014-03-11 14:34:07 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2014-03-11 14:34:07 -0700
commit07dc50b8f19d1a1750baf46685e375545591be85 (patch)
tree74ec1ef06ae88944b29de5d313f715849fa348be /src/pkg/path
parent053127b12f4ad04417f3d26b0acbf91e9a9c1a6a (diff)
downloadgo-07dc50b8f19d1a1750baf46685e375545591be85.tar.xz
path/filepath: fixed misaligned comment.
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
Diffstat (limited to 'src/pkg/path')
-rw-r--r--src/pkg/path/filepath/path.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/path/filepath/path.go b/src/pkg/path/filepath/path.go
index 65d29bf9f9..71603cc594 100644
--- a/src/pkg/path/filepath/path.go
+++ b/src/pkg/path/filepath/path.go
@@ -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.