File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ impl<T: PortRead> PortReadOnly<T> {
118118 #[ cfg( feature = "const_fn" ) ]
119119 pub const fn new ( port : u16 ) -> PortReadOnly < T > {
120120 PortReadOnly {
121- port : port ,
121+ port,
122122 phantom : PhantomData ,
123123 }
124124 }
@@ -127,7 +127,7 @@ impl<T: PortRead> PortReadOnly<T> {
127127 #[ cfg( not( feature = "const_fn" ) ) ]
128128 pub fn new ( port : u16 ) -> PortReadOnly < T > {
129129 PortReadOnly {
130- port : port ,
130+ port,
131131 phantom : PhantomData ,
132132 }
133133 }
@@ -147,7 +147,7 @@ impl<T: PortWrite> PortWriteOnly<T> {
147147 #[ cfg( feature = "const_fn" ) ]
148148 pub const fn new ( port : u16 ) -> PortWriteOnly < T > {
149149 PortWriteOnly {
150- port : port ,
150+ port,
151151 phantom : PhantomData ,
152152 }
153153 }
@@ -156,7 +156,7 @@ impl<T: PortWrite> PortWriteOnly<T> {
156156 #[ cfg( not( feature = "const_fn" ) ) ]
157157 pub fn new ( port : u16 ) -> PortWriteOnly < T > {
158158 PortWriteOnly {
159- port : port ,
159+ port,
160160 phantom : PhantomData ,
161161 }
162162 }
@@ -176,7 +176,7 @@ impl<T: PortReadWrite> Port<T> {
176176 #[ cfg( feature = "const_fn" ) ]
177177 pub const fn new ( port : u16 ) -> Port < T > {
178178 Port {
179- port : port ,
179+ port,
180180 phantom : PhantomData ,
181181 }
182182 }
@@ -185,7 +185,7 @@ impl<T: PortReadWrite> Port<T> {
185185 #[ cfg( not( feature = "const_fn" ) ) ]
186186 pub fn new ( port : u16 ) -> Port < T > {
187187 Port {
188- port : port ,
188+ port,
189189 phantom : PhantomData ,
190190 }
191191 }
You can’t perform that action at this time.
0 commit comments