Skip to content

Commit

Permalink
feat(lazycell): remove unnecessary Default impl
Browse files Browse the repository at this point in the history
  • Loading branch information
indiv0 committed Mar 28, 2016
1 parent 27add11 commit 68c16d2
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#![cfg_attr(feature = "clippy", plugin(clippy))]

use std::cell::RefCell;
use std::default::Default;
use std::mem;

/// A lazily filled Cell, with frozen contents.
Expand Down Expand Up @@ -72,10 +71,3 @@ impl<T> LazyCell<T> {
self.inner.into_inner()
}
}

impl<T> Default for LazyCell<T> {
#[inline]
fn default() -> LazyCell<T> {
Self::new()
}
}

0 comments on commit 68c16d2

Please sign in to comment.