File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -440,7 +440,7 @@ impl<T: Integer + Display> Display for IntegerField<T> {
440440 tag. attr ( "placeholder" , placeholder) ;
441441 }
442442 if let Some ( readonly) = self . custom_options . readonly {
443- if readonly{
443+ if readonly {
444444 tag. bool_attr ( "readonly" ) ;
445445 }
446446 }
@@ -819,7 +819,7 @@ impl<T: Float + Display> Display for FloatField<T> {
819819 tag. attr ( "placeholder" , placeholder) ;
820820 }
821821 if let Some ( readonly) = self . custom_options . readonly {
822- if readonly{
822+ if readonly {
823823 tag. bool_attr ( "readonly" ) ;
824824 }
825825 }
Original file line number Diff line number Diff line change @@ -74,9 +74,9 @@ pub enum AutoCapitalize {
7474impl AutoCapitalize {
7575 fn as_str ( self ) -> & ' static str {
7676 match self {
77- AutoCapitalize :: Off => "off" ,
78- AutoCapitalize :: On => "on" ,
79- AutoCapitalize :: Words => "words" ,
77+ AutoCapitalize :: Off => "off" ,
78+ AutoCapitalize :: On => "on" ,
79+ AutoCapitalize :: Words => "words" ,
8080 AutoCapitalize :: Characters => "characters" ,
8181 }
8282 }
You can’t perform that action at this time.
0 commit comments