We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42109f5 commit 2131f2bCopy full SHA for 2131f2b
src/lib/fs.rs
@@ -16,7 +16,7 @@ fn dirname(path p) -> path {
16
// FIXME: the '/' character is a path separator on all 3 platforms we
17
// support. This should probably be generalized a bit more in the
18
// future, but for now this should work.
19
- i = _str.rindex(p, '/');
+ i = _str.rindex(p, '/' as u8);
20
if (i == -1) {
21
ret p;
22
}
@@ -57,5 +57,5 @@ fn list_dir(path p) -> vec[str] {
57
// indent-tabs-mode: nil
58
// c-basic-offset: 4
59
// buffer-file-coding-system: utf-8-unix
60
-// compile-command: "make -k -C .. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
+// compile-command: "make -k -C $RBUILD 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
61
// End:
0 commit comments