File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ documentation = "https://sfackler.github.io/rust-postgres-array/doc/postgres_arr
99
1010[dependencies ]
1111postgres = " 0.7.1"
12- byteorder = " 0.2.11 "
12+ byteorder = " 0.3 "
1313
1414[dev-dependencies ]
1515rustc-serialize = " 0.3"
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ impl<T> FromSql for ArrayBase<Option<T>> where T: FromSql {
1919 let _element_type: Oid = try!( raw. read_u32 :: < BigEndian > ( ) ) ;
2020
2121 let mut dim_info = Vec :: with_capacity ( ndim) ;
22- for _ in range ( 0 , ndim) {
22+ for _ in ( 0 .. ndim) {
2323 dim_info. push ( DimensionInfo {
2424 len : try!( raw. read_u32 :: < BigEndian > ( ) ) as usize ,
2525 lower_bound : try!( raw. read_i32 :: < BigEndian > ( ) ) as isize ,
@@ -32,7 +32,7 @@ impl<T> FromSql for ArrayBase<Option<T>> where T: FromSql {
3232 } ;
3333
3434 let mut elements = Vec :: with_capacity ( nele) ;
35- for _ in range ( 0 , nele) {
35+ for _ in ( 0 .. nele) {
3636 let len = try!( raw. read_i32 :: < BigEndian > ( ) ) ;
3737 if len < 0 {
3838 elements. push ( None ) ;
You can’t perform that action at this time.
0 commit comments