mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Change debug assertions to specific ones
This commit is contained in:
parent
2cf0077be1
commit
661d234c3c
23 changed files with 53 additions and 53 deletions
|
@ -598,7 +598,7 @@ impl<H, T> Arc<HeaderSlice<H, [T]>> {
|
|||
assert!(items.next().is_none(), "ExactSizeIterator under-reported length");
|
||||
|
||||
// We should have consumed the buffer exactly.
|
||||
debug_assert!(current as *mut u8 == buffer.offset(size as isize));
|
||||
debug_assert_eq!(current as *mut u8, buffer.offset(size as isize));
|
||||
}
|
||||
|
||||
// Return the fat Arc.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue