Skip to content

Commit

Permalink
chore: fix whitespace formatting
Browse files Browse the repository at this point in the history
Fix whitespace formatting (i.e. change all tabs to spaces).
  • Loading branch information
indiv0 committed Oct 25, 2016
1 parent b66eb24 commit 1968692
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ impl<T> LazyCell<T> {
pub fn fill(&self, t: T) -> Result<(), T> {
let mut slot = unsafe { &mut *self.inner.get() };
if slot.is_some() {
return Err(t);
return Err(t);
}
*slot = Some(t);

Ok(())
Ok(())
}

/// Test whether this cell has been previously filled.
Expand Down

0 comments on commit 1968692

Please sign in to comment.