File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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" ) ,
You can’t perform that action at this time.
0 commit comments