Skip to content

Commit da4f2f8

Browse files
committed
feat: collapse uses
1 parent 44fa364 commit da4f2f8

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

src/coordinate.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
use std::fmt;
2-
use std::ops::Index;
3-
use std::ops::IndexMut;
2+
use std::ops::{Index, IndexMut};
43

54
#[derive(Debug, Clone, PartialEq)]
65
pub struct Coordinate {

src/lib.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@ pub mod coordinate;
55
pub mod storage;
66

77
use num::Num;
8-
use std::ops::Add;
9-
use std::ops::Sub;
10-
use std::ops::Mul;
11-
use std::ops::Div;
8+
use std::ops::{Add, Sub, Mul, Div};
129

1310
use crate::shape::Shape;
1411
use crate::iter::IndexIterator;

src/storage.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
use std::ops::Index;
2-
use std::ops::IndexMut;
1+
use std::ops::{Index, IndexMut};
32

43
use crate::coordinate::Coordinate;
54
use crate::shape::Shape;

0 commit comments

Comments
 (0)