Skip to content

Commit 6533c24

Browse files
committed
Fix clippy::redundant_field_names
1 parent c6d598b commit 6533c24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ impl<T> Complex<T> {
8888
/// Create a new Complex
8989
#[inline]
9090
pub const fn new(re: T, im: T) -> Self {
91-
Complex { re: re, im: im }
91+
Complex { re, im }
9292
}
9393
}
9494

0 commit comments

Comments
 (0)