Cleanup imports
This commit is contained in:
parent
e22d15f381
commit
bef1fec27c
@ -1,4 +1,4 @@
|
||||
use dms_coordinates::{Bearing, DMS};
|
||||
|
||||
use nom::{
|
||||
branch::alt,
|
||||
bytes::complete::{tag_no_case, take_while1},
|
||||
|
@ -1,13 +1,10 @@
|
||||
use crate::{
|
||||
common::{optional_separator, parse_direction},
|
||||
Direction,
|
||||
common::{optional_separator},
|
||||
};
|
||||
use nom::{
|
||||
branch::alt,
|
||||
character::complete::{self, space0, space1},
|
||||
combinator::{eof, map, map_opt, map_res, opt},
|
||||
combinator::{map_opt},
|
||||
number::complete::double,
|
||||
sequence::{pair, tuple},
|
||||
sequence::{tuple},
|
||||
IResult,
|
||||
};
|
||||
use std::str::FromStr;
|
||||
|
@ -5,11 +5,9 @@ use crate::{
|
||||
use dms_coordinates::Bearing;
|
||||
pub use dms_coordinates::DMS;
|
||||
use nom::{
|
||||
branch::alt,
|
||||
character::complete::{self, space0, space1},
|
||||
combinator::{eof, map, map_opt, map_res, opt},
|
||||
number::complete::double,
|
||||
sequence::{pair, tuple},
|
||||
character::complete::{self},
|
||||
combinator::{map, map_opt},
|
||||
sequence::{tuple},
|
||||
IResult,
|
||||
};
|
||||
use std::str::FromStr;
|
||||
|
@ -1,5 +1,3 @@
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use std::str::FromStr;
|
||||
mod common;
|
||||
pub mod dd;
|
||||
|
@ -1,14 +1,9 @@
|
||||
use crate::{
|
||||
common::{optional_separator, parse_direction},
|
||||
Direction, LatLon,
|
||||
LatLon,
|
||||
};
|
||||
use nom::{
|
||||
branch::alt,
|
||||
bytes::complete::take_while,
|
||||
character::complete::{self, space0, space1},
|
||||
combinator::{eof, map, map_opt, map_res, opt},
|
||||
number::complete::double,
|
||||
sequence::{pair, tuple},
|
||||
combinator::{map_opt},
|
||||
IResult,
|
||||
};
|
||||
use std::str::FromStr;
|
||||
|
@ -1,18 +1,15 @@
|
||||
use crate::{
|
||||
common::{optional_separator, parse_direction, parse_f64},
|
||||
Direction, LatLon,
|
||||
common::{parse_direction, parse_f64}, LatLon,
|
||||
};
|
||||
use nom::{
|
||||
branch::alt,
|
||||
bytes::complete::{take, take_while},
|
||||
bytes::complete::{take},
|
||||
character::complete::{self, space0, space1},
|
||||
combinator::{eof, map, map_opt, map_res, opt},
|
||||
number::complete::double,
|
||||
sequence::{pair, tuple},
|
||||
combinator::{map_opt, opt},
|
||||
sequence::{tuple},
|
||||
IResult,
|
||||
};
|
||||
use std::str::FromStr;
|
||||
use utm::WSG84ToLatLonError;
|
||||
|
||||
|
||||
#[derive(PartialEq, Debug)]
|
||||
pub struct Coordinate {
|
||||
|
Loading…
Reference in New Issue
Block a user