Skip to content

Commit

Permalink
cargo fix --edition
Browse files Browse the repository at this point in the history
  • Loading branch information
ordovicia committed Nov 29, 2018
1 parent 8264f55 commit 254a780
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/kdtree.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use heap_element::HeapElement;
use crate::heap_element::HeapElement;
use num_traits::{Float, One, Zero};
use std;
use std::collections::BinaryHeap;
use util;
use crate::util;

#[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))]
#[derive(Debug)]
Expand Down Expand Up @@ -358,7 +358,7 @@ where
{
type Item = (A, &'b T);
fn next(&mut self) -> Option<(A, &'b T)> {
use util::distance_to_space;
use crate::util::distance_to_space;
let distance = self.distance;
let point = self.point;
while !self.pending.is_empty()
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ pub mod distance;
mod heap_element;
pub mod kdtree;
mod util;
pub use kdtree::ErrorKind;
pub use kdtree::KdTree;
pub use crate::kdtree::ErrorKind;
pub use crate::kdtree::KdTree;

0 comments on commit 254a780

Please sign in to comment.