Skip to content

Commit

Permalink
remove a wrong bug todo
Browse files Browse the repository at this point in the history
  • Loading branch information
aarkegz committed Aug 21, 2024
1 parent fe4511e commit 7777cb8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion memory_set/src/area.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ impl<B: MappingBackend> MemoryArea<B> {
/// Returns `None` if the given position is not in the memory area, or one
/// of the parts is empty after splitting.
pub(crate) fn split(&mut self, pos: B::Addr) -> Option<Self> {
// todo: is it a bug when `pos == end - 1`?
if self.start() < pos && pos < self.end() {
let new_area = Self::new(
pos,
Expand Down

0 comments on commit 7777cb8

Please sign in to comment.