Skip to content
Snippets Groups Projects
Commit 3c466892 authored by Robert Węcławski's avatar Robert Węcławski
Browse files

change assert to debug_assert

parent a8ecfc86
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ impl<L> Table<L> where L: TableLevel {
/// Set number of entries in first table entry
fn set_entry_count(&mut self, count: u64) {
assert!(count <= ENTRY_COUNT as u64, "count can't be greater than ENTRY_COUNT");
debug_assert!(count <= ENTRY_COUNT as u64, "count can't be greater than ENTRY_COUNT");
self.entries[0].set_counter_bits(count);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment