File tree Expand file tree Collapse file tree 10 files changed +10
-8
lines changed Expand file tree Collapse file tree 10 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 8
8
#![ cfg_attr( not( feature = "std" ) , no_std) ]
9
9
10
10
#![ warn( missing_docs, missing_debug_implementations) ]
11
- #![ deny( bare_trait_objects ) ]
11
+ #![ deny( rust_2018_idioms ) ]
12
12
13
13
#![ doc( html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.12/futures_channel" ) ]
14
14
Original file line number Diff line number Diff line change 6
6
#![ cfg_attr( not( feature = "std" ) , no_std) ]
7
7
8
8
#![ warn( missing_docs, missing_debug_implementations) ]
9
- #![ deny( bare_trait_objects ) ]
9
+ #![ deny( rust_2018_idioms ) ]
10
10
11
11
#![ doc( html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.12/futures_core" ) ]
12
12
Original file line number Diff line number Diff line change 5
5
#![ cfg_attr( not( feature = "std" ) , no_std) ]
6
6
7
7
#![ warn( missing_docs, missing_debug_implementations) ]
8
- #![ deny( bare_trait_objects ) ]
8
+ #![ deny( rust_2018_idioms ) ]
9
9
10
10
#![ doc( html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.12/futures_executor" ) ]
11
11
Original file line number Diff line number Diff line change 7
7
#![ cfg_attr( not( feature = "std" ) , no_std) ]
8
8
9
9
#![ warn( missing_docs, missing_debug_implementations) ]
10
- #![ deny( bare_trait_objects ) ]
10
+ #![ deny( rust_2018_idioms ) ]
11
11
12
12
#![ doc( html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.12/futures_io" ) ]
13
13
Original file line number Diff line number Diff line change 1
1
//! The futures-rs `select! macro implementation.
2
2
3
3
#![ recursion_limit="128" ]
4
+ #![ deny( rust_2018_idioms) ]
4
5
5
6
extern crate proc_macro;
6
7
Original file line number Diff line number Diff line change 5
5
6
6
#![ cfg_attr( not( feature = "std" ) , no_std) ]
7
7
#![ warn( missing_docs, missing_debug_implementations) ]
8
+ #![ deny( rust_2018_idioms) ]
8
9
#![ doc( html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.12/futures_sink" ) ]
9
10
10
11
#![ feature( futures_api) ]
Original file line number Diff line number Diff line change 6
6
futures_api,
7
7
) ]
8
8
#![ warn( missing_docs, missing_debug_implementations) ]
9
- #![ deny( bare_trait_objects ) ]
9
+ #![ deny( rust_2018_idioms ) ]
10
10
#![ doc(
11
11
html_root_url = "https://rust-lang-nursery.github.io/futures-doc/0.3.0-alpha.5/futures_test"
12
12
) ]
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ impl Current {
128
128
Current ( task01:: current ( ) )
129
129
}
130
130
131
- fn as_waker ( & self ) -> LocalWakerLt {
131
+ fn as_waker ( & self ) -> LocalWakerLt < ' _ > {
132
132
unsafe {
133
133
LocalWakerLt {
134
134
inner : task03:: LocalWaker :: new ( NonNull :: new_unchecked ( self as * const Current as * mut Current ) ) ,
Original file line number Diff line number Diff line change 7
7
8
8
#![ cfg_attr( not( feature = "std" ) , no_std) ]
9
9
#![ warn( missing_docs, missing_debug_implementations) ]
10
- #![ deny( bare_trait_objects ) ]
10
+ #![ deny( rust_2018_idioms ) ]
11
11
12
12
#![ doc( html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.12/futures_util" ) ]
13
13
Original file line number Diff line number Diff line change 26
26
#![ cfg_attr( not( feature = "std" ) , no_std) ]
27
27
28
28
#![ warn( missing_docs, missing_debug_implementations) ]
29
- #![ deny( bare_trait_objects ) ]
29
+ #![ deny( rust_2018_idioms ) ]
30
30
31
31
#![ doc( html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.12/futures" ) ]
32
32
You can’t perform that action at this time.
0 commit comments