Skip to content

Commit 5a97c48

Browse files
committed
auto merge of #5609 : Kimundi/rust/incoming, r=catamorphism
2 parents e16f94f + eac2f3b commit 5a97c48

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: src/libcore/str.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,8 @@ pub fn each_split_within<'a>(ss: &'a str,
726726

727727
(B, Cr, UnderLim) => { B }
728728
(B, Cr, OverLim) if (i - last_start + 1) > lim
729-
=> { fail!(~"word longer than limit!") }
729+
=> fail!(fmt!("word starting with %? longer than limit!",
730+
self::slice(ss, last_start, i + 1))),
730731
(B, Cr, OverLim) => { slice(); slice_start = last_start; B }
731732
(B, Ws, UnderLim) => { last_end = i; C }
732733
(B, Ws, OverLim) => { last_end = i; slice(); A }

Diff for: src/librustc/driver/driver.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -762,8 +762,7 @@ pub fn optgroups() -> ~[getopts::groups::OptGroup] {
762762
optflag(~"", ~"test", ~"Build a test harness"),
763763
optopt(~"", ~"target",
764764
~"Target triple cpu-manufacturer-kernel[-os]
765-
to compile for (see
766-
http://sources.redhat.com/autobook/autobook/autobook_17.html
765+
to compile for (see chapter 3.4 of http://www.sourceware.org/autobook/
767766
for detail)", ~"TRIPLE"),
768767
optopt(~"", ~"android-cross-path",
769768
~"The path to the Android NDK", "PATH"),

0 commit comments

Comments
 (0)