@@ -26,10 +26,10 @@ static STRIP: LazyLock<Regex> = LazyLock::new(|| unsafe {
2626static ACCENTS : LazyLock < HashMap < char , & str > > = LazyLock :: new ( || {
2727 let source = "ÂÃÄÀÁÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖŐØŒÙÚÛÜŰÝÞßàáâãäåæçèéêëìíîïðñòóôõöőøœùúûüűýþÿ" ;
2828 let replacements = [
29- "A" , "A" , "A" , "A" , "A" , "A" , "AE" , "C" , "E" , "E" , "E" , "E" , "I" , "I" , "I" , "I" , "D" ,
30- "N" , " O", "O" , "O" , "O" , "O" , "O" , "O" , "OE" , "U" , "U" , "U" , "U" , "U" , "Y" , "TH" , "ss" ,
31- "a" , "a" , "a" , "a" , "a" , "a" , " ae", "c" , "e" , "e" , "e" , "e" , "i" , "i" , "i" , "i" , "d" ,
32- "n" , "o" , " o", "o" , "o" , "o" , "o" , "o" , "oe" , "u" , "u" , "u" , "u" , "u" , "y" , "th" , "y" ,
29+ "A" , "A" , "A" , "A" , "A" , "A" , "AE" , "C" , "E" , "E" , "E" , "E" , "I" , "I" , "I" , "I" , "D" , "N" ,
30+ "O" , "O" , "O" , "O" , "O" , "O" , "O" , "OE" , "U" , "U" , "U" , "U" , "U" , "Y" , "TH" , "ss" , "a ",
31+ "a" , "a" , "a" , "a" , "a" , "ae" , "c" , "e" , "e" , "e" , "e" , "i" , "i" , "i" , "i" , "d" , "n" , "o ",
32+ "o" , "o" , "o" , "o" , "o" , "o" , "oe" , "u" , "u" , "u" , "u" , "u" , "y" , "th" , "y" ,
3333 ] ;
3434 source. chars ( ) . zip ( replacements) . collect ( )
3535} ) ;
@@ -245,16 +245,14 @@ impl Spinner {
245245 }
246246 }
247247 pub ( crate ) fn create ( & mut self , message : & str ) {
248- if self . verbosity >= -1 {
249- if !self . hidden {
250- self . message = Some ( message. to_string ( ) ) ;
251- self . handle = Some (
252- SpinnerBuilder :: new ( )
253- . spinner ( & DOTS2 )
254- . text ( message. to_string ( ) )
255- . start ( ) ,
256- ) ;
257- }
248+ if self . verbosity >= -1 && !self . hidden {
249+ self . message = Some ( message. to_string ( ) ) ;
250+ self . handle = Some (
251+ SpinnerBuilder :: new ( )
252+ . spinner ( & DOTS2 )
253+ . text ( message. to_string ( ) )
254+ . start ( ) ,
255+ ) ;
258256 }
259257 }
260258 pub ( crate ) fn start ( & mut self ) {
0 commit comments