File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ impl Into<u32> for d128 {
224224/// payload is 0.
225225impl fmt:: Display for d128 {
226226 fn fmt ( & self , fmt : & mut fmt:: Formatter ) -> fmt:: Result {
227- let mut buf = [ 0 as i8 ; 43 ] ;
227+ let mut buf = [ 0 ; 43 ] ;
228228 unsafe {
229229 decQuadToString ( self , buf. as_mut ( ) . as_mut_ptr ( ) ) ;
230230 let cstr = CStr :: from_ptr ( buf. as_ptr ( ) ) ;
@@ -244,7 +244,7 @@ impl fmt::Debug for d128 {
244244/// exponential notation is used the exponent will be a multiple of 3.
245245impl fmt:: LowerExp for d128 {
246246 fn fmt ( & self , fmt : & mut fmt:: Formatter ) -> fmt:: Result {
247- let mut buf = [ 0 as i8 ; 43 ] ;
247+ let mut buf = [ 0 ; 43 ] ;
248248 unsafe {
249249 decQuadToEngString ( self , buf. as_mut ( ) . as_mut_ptr ( ) ) ;
250250 let cstr = CStr :: from_ptr ( buf. as_ptr ( ) ) ;
You can’t perform that action at this time.
0 commit comments