lmfao
@@ -177,7 +177,7 @@ impl Iterator for LevelIter {
if self.lv <= self.to {
let ret = self.n;
- // Increment the counter.
+ // Increment the level counter.
self.lv = ret + 1;
Some(Level(ret))
@@ -36,6 +36,7 @@ pub fn oom() -> ! {
if let Some(handler) = THREAD_OOM_HANDLER.with(|x| x.get()) {
log!(DEBUG, "Calling the local OOM handler.");
+ // Duh! Obviously, we run the handler.
handler();
}
@@ -45,6 +45,7 @@ impl<F: FnMut() -> T, T> LazyInit<F, T> {
State::Uninitialized(ref mut f) => inner = f(),
+ // Put the intialized value into the state.
self.state = State::Initialized(inner);
if let State::Initialized(ref mut x) = self.state {