Skip to content

Commit 5b7d940

Browse files
killerswanmarijnh
authored andcommitted
---
yaml --- r: 11440 b: refs/heads/master c: cec0534 h: refs/heads/master v: v3
1 parent 206a0f8 commit 5b7d940

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 6ea3d7935efba59d0b9d81f233e66ea69f1e1016
2+
refs/heads/master: cec053487c84e8b5406e24d6f9f72966cdcfd0da
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/comp/back/link.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ mod write {
109109
// Decides what to call an intermediate file, given the name of the output
110110
// and the extension to use.
111111
fn mk_intermediate_name(output_path: str, extension: str) -> str unsafe {
112-
let stem = alt str::index_chars(output_path, '.') {
112+
let stem = alt str::index(output_path, '.') {
113113
option::some(dot_pos) {
114-
str::slice_chars(output_path, 0u, dot_pos)
114+
str::slice(output_path, 0u, dot_pos)
115115
}
116116
option::none { output_path }
117117
};

trunk/src/libcore/str.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,9 @@ export
7070
lines_iter,
7171

7272
// Searching
73-
index_chars,
73+
//index_chars,
7474
index,
7575
index_from,
76-
//byte_index,
77-
//byte_index_from,
7876
rindex,
7977
//rindex_chars,
8078
find_chars,

0 commit comments

Comments
 (0)