File tree 2 files changed +3
-3
lines changed
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,
726
726
727
727
( B , Cr , UnderLim ) => { B }
728
728
( 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 ) ) ) ,
730
731
( B , Cr , OverLim ) => { slice ( ) ; slice_start = last_start; B }
731
732
( B , Ws , UnderLim ) => { last_end = i; C }
732
733
( 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] {
762
762
optflag ( ~"", ~"test", ~"Build a test harness") ,
763
763
optopt( ~"", ~"target",
764
764
~"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/
767
766
for detail) ", ~"TRIPLE ") ,
768
767
optopt( ~"", ~"android-cross-path",
769
768
~"The path to the Android NDK ", "PATH" ) ,
You can’t perform that action at this time.
0 commit comments