2017-01-26 13:11:59 -06:00
|
|
|
// rustfmt-format_strings: true
|
|
|
|
|
2015-09-29 09:38:52 -05:00
|
|
|
fn main() {
|
2017-06-11 23:01:41 -05:00
|
|
|
println!(
|
|
|
|
"ThisIsAReallyLongStringWithNoSpaces.It_should_prefer_to_break_onpunctuation:\
|
|
|
|
Likethisssssssssssss"
|
|
|
|
);
|
2017-01-26 13:04:13 -06:00
|
|
|
format!("{}__{}__{}ItShouldOnlyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyNoticeSemicolonsPeriodsColonsAndCommasAndResortToMid-CharBreaksAfterPunctuation{}{}",x,y,z,a,b);
|
2017-06-11 23:01:41 -05:00
|
|
|
println!(
|
|
|
|
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaalhijalfhiigjapdighjapdigjapdighdapighapdighpaidhg;\
|
|
|
|
adopgihadoguaadbadgad,qeoihapethae8t0aet8haetadbjtaeg;\
|
|
|
|
ooeouthaoeutgadlgajduabgoiuadogabudogubaodugbadgadgadga;adoughaoeugbaouea"
|
|
|
|
);
|
2019-01-14 17:41:09 -06:00
|
|
|
println!(
|
|
|
|
"sentuhaesnuthaesnutheasunteahusnaethuseantuihaesntdiastnidaetnuhaideuhsenathe。\
|
|
|
|
WeShouldSupportNonAsciiPunctuations§\
|
|
|
|
ensuhatheasunteahsuneathusneathuasnuhaesnuhaesnuaethusnaetuheasnuth"
|
|
|
|
);
|
|
|
|
println!(
|
|
|
|
"ThisIsASampleOfCJKString.祇園精舍の鐘の声、諸行無常の響きあり。娑羅双樹の花の色、\
|
|
|
|
盛者必衰の理をあらはす。奢れる人も久しからず、ただ春の夜の夢のごとし。\
|
|
|
|
猛き者もつひにはほろびぬ、ひとへに風の前の塵に同じ。"
|
|
|
|
);
|
2015-09-29 09:38:52 -05:00
|
|
|
}
|