File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " postgres_range"
3- version = " 0.8.0 "
3+ version = " 0.8.1 "
44authors = [" Steven Fackler <sfackler@gmail.com>" ]
55license = " MIT"
66description = " Range support for rust-postgres"
77repository = " https://github.com/sfackler/rust-postgres-range"
8- documentation = " https://sfackler.github.io/rust-postgres-range/doc/v0.8.0 /postgres_range"
8+ documentation = " https://sfackler.github.io/rust-postgres-range/doc/v0.8.1 /postgres_range"
99
1010[dependencies ]
1111time = " 0.1"
Original file line number Diff line number Diff line change 11# rust-postgres-range
22[ ![ Build Status] ( https://travis-ci.org/sfackler/rust-postgres-range.svg?branch=master )] ( https://travis-ci.org/sfackler/rust-postgres-range )
33
4- [ Documentation] ( https://sfackler.github.io/rust-postgres-range/doc/v0.8.0 /postgres_range )
4+ [ Documentation] ( https://sfackler.github.io/rust-postgres-range/doc/v0.8.1 /postgres_range )
55
66Support for PostgreSQL ranges in [ rust-postgres] ( https://github.com/sfackler/rust-postgres ) .
Original file line number Diff line number Diff line change 11//! Types dealing with ranges of values
2- #![ doc( html_root_url="https://sfackler.github.io/rust-postgres-range/doc/v0.8.0 " ) ]
2+ #![ doc( html_root_url="https://sfackler.github.io/rust-postgres-range/doc/v0.8.1 " ) ]
33
44#[ macro_use( to_sql_checked) ]
55extern crate postgres;
@@ -200,7 +200,12 @@ pub struct RangeBound<S: BoundSided, T> {
200200 pub value : T ,
201201 /// The type of the bound.
202202 pub type_ : BoundType ,
203- _m : PhantomData < * mut S > ,
203+ _m : PhantomData < S > ,
204+ }
205+
206+ fn _is_send_sync ( ) {
207+ fn is_send_sync < T : Send + Sync > ( ) { }
208+ is_send_sync :: < RangeBound < LowerBound , i32 > > ( ) ;
204209}
205210
206211impl < S , T > Copy for RangeBound < S , T > where S : BoundSided , T : Copy { }
You can’t perform that action at this time.
0 commit comments