Skip to content

Commit e780497

Browse files
committed
Slightly more helpful direct_write comment
1 parent e812ba6 commit e780497

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

evmap/src/write.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ where
126126
let mut w_inner = self.handle.raw_write_handle();
127127
let w_inner = unsafe { w_inner.as_mut() };
128128
let r_handle = self.handle.enter().expect("map has not yet been destroyed");
129-
// because we are applying second, we _do_ want to perform drops
129+
// Because we are operating directly on the map, and nothing is aliased, we do want
130+
// to perform drops, so we invoke absorb_second.
130131
Absorb::absorb_second(w_inner, op, &*r_handle);
131132
}
132133

0 commit comments

Comments
 (0)