File tree Expand file tree Collapse file tree 6 files changed +18
-4
lines changed Expand file tree Collapse file tree 6 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -408,7 +408,7 @@ impl SessionClient {
408
408
for stmt in stmts {
409
409
let execute_responses = Plan :: generated_from ( ( & stmt) . into ( ) )
410
410
. into_iter ( )
411
- . map ( |plan| ExecuteResponse :: generated_from ( plan ) )
411
+ . map ( ExecuteResponse :: generated_from)
412
412
. flatten ( )
413
413
. collect :: < Vec < _ > > ( ) ;
414
414
Original file line number Diff line number Diff line change 7
7
// the Business Source License, use of this software will be governed
8
8
// by the Apache License, Version 2.0.
9
9
10
+ // `EnumKind` unconditionally introduces a lifetime. TODO: remove this once
11
+ // https://github.com/rust-lang/rust-clippy/pull/9037 makes it into stable
12
+ #![ allow( clippy:: extra_unused_lifetimes) ]
13
+
10
14
use std:: fmt;
11
15
use std:: future:: Future ;
12
16
use std:: pin:: Pin ;
@@ -607,7 +611,7 @@ impl ExecuteResponse {
607
611
}
608
612
609
613
/// Expresses which [`PlanKind`] generate which set of
610
- /// [ `ExecuteResponseKind`] .
614
+ /// `ExecuteResponseKind`.
611
615
///
612
616
/// Empty results indicate that the type of response is not known.
613
617
pub fn generated_from ( plan : PlanKind ) -> Vec < ExecuteResponseKind > {
Original file line number Diff line number Diff line change 23
23
24
24
//! Logic handling the intermediate representation of Avro values.
25
25
26
- // `EnumKind` unconditionally introduces a lifetime.
26
+ // `EnumKind` unconditionally introduces a lifetime. TODO: remove this once
27
+ // https://github.com/rust-lang/rust-clippy/pull/9037 makes it into stable
27
28
#![ allow( clippy:: extra_unused_lifetimes) ]
28
29
29
30
use std:: collections:: HashMap ;
Original file line number Diff line number Diff line change 7
7
// the Business Source License, use of this software will be governed
8
8
// by the Apache License, Version 2.0.
9
9
10
- // `EnumKind` and various macros unconditionally introduce lifetimes.
10
+ // `EnumKind` unconditionally introduces a lifetime. TODO: remove this once
11
+ // https://github.com/rust-lang/rust-clippy/pull/9037 makes it into stable
11
12
#![ allow( clippy:: extra_unused_lifetimes) ]
12
13
13
14
use std:: fmt:: { self , Write } ;
Original file line number Diff line number Diff line change 18
18
// See the License for the specific language governing permissions and
19
19
// limitations under the License.
20
20
21
+ // `EnumKind` unconditionally introduces a lifetime. TODO: remove this once
22
+ // https://github.com/rust-lang/rust-clippy/pull/9037 makes it into stable
23
+ #![ allow( clippy:: extra_unused_lifetimes) ]
24
+
21
25
use std:: fmt;
22
26
23
27
use enum_kinds:: EnumKind ;
Original file line number Diff line number Diff line change 26
26
// `plan_root_query` and fanning out based on the contents of the `SELECT`
27
27
// statement.
28
28
29
+ // `EnumKind` unconditionally introduces a lifetime. TODO: remove this once
30
+ // https://github.com/rust-lang/rust-clippy/pull/9037 makes it into stable
31
+ #![ allow( clippy:: extra_unused_lifetimes) ]
32
+
29
33
use std:: collections:: { BTreeSet , HashMap , HashSet } ;
30
34
use std:: num:: NonZeroUsize ;
31
35
use std:: time:: Duration ;
You can’t perform that action at this time.
0 commit comments