Skip to content

Commit 0a6d299

Browse files
committed
Fixed compile error from merging
1 parent 91a1cd5 commit 0a6d299

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clippy_lints/src/floating_point_arithmetic.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ use rustc_lint::{LateContext, LateLintPass};
1111
use rustc_session::{declare_lint_pass, declare_tool_lint};
1212
use rustc_span::source_map::Spanned;
1313

14-
use rustc_ast::ast;
14+
use rustc_ast::ast::{self, FloatTy, LitFloatType, LitKind};
1515
use std::f32::consts as f32_consts;
1616
use std::f64::consts as f64_consts;
1717
use sugg::{format_numeric_literal, Sugg};
18-
use syntax::ast::{self, FloatTy, LitFloatType, LitKind};
1918

2019
declare_clippy_lint! {
2120
/// **What it does:** Looks for floating-point expressions that

0 commit comments

Comments
 (0)