commit | ab05990947714ba42c3fdf9e3c9b0cdf50e87953 | [log] [tgz] |
---|---|---|
author | kevmoo@j832.com <kevmoo@j832.com> | Wed Jul 17 19:28:45 2013 +0000 |
committer | kevmoo@j832.com <kevmoo@j832.com> | Wed Jul 17 19:28:45 2013 +0000 |
tree | 44d6edb9e49f9fedf515d0b7c5c9060e0e71751e | |
parent | e8c73a106e61cec99792358f28b852b674fb3c90 [diff] |
pkg/path: fixed tiny doc bug path.dirname('path/to') returns 'path', not 'to' R=rnystrom@google.com Review URL: https://codereview.chromium.org//19492003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/path@25120 260f80e4-7a28-3924-810f-c04153c831b5
diff --git a/lib/path.dart b/lib/path.dart index 25ce0e6..1d83c00 100644 --- a/lib/path.dart +++ b/lib/path.dart
@@ -109,7 +109,7 @@ /// Gets the part of [path] before the last separator. /// /// path.dirname('path/to/foo.dart'); // -> 'path/to' -/// path.dirname('path/to'); // -> 'to' +/// path.dirname('path/to'); // -> 'path' /// /// Trailing separators are ignored. ///