Skip to content

Commit

Permalink
Fixed indent from tabs to spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Tepe committed Jan 16, 2016
1 parent 9c5b296 commit 5c62178
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/doc/nomicon/vec-final.md
Expand Up @@ -227,10 +227,10 @@ impl<T> Iterator for RawValIter<T> {
unsafe {
let result = ptr::read(self.start);
self.start = if mem::size_of::<T>() == 0 {
(self.start as usize + 1) as *const _
} else {
self.start.offset(1)
};
(self.start as usize + 1) as *const _
} else {
self.start.offset(1)
};
Some(result)
}
}
Expand All @@ -251,10 +251,10 @@ impl<T> DoubleEndedIterator for RawValIter<T> {
} else {
unsafe {
self.end = if mem::size_of::<T>() == 0 {
(self.end as usize - 1) as *const _
} else {
self.end.offset(-1)
};
(self.end as usize - 1) as *const _
} else {
self.end.offset(-1)
};
Some(ptr::read(self.end))
}
}
Expand Down

0 comments on commit 5c62178

Please sign in to comment.