Skip to content

Commit

Permalink
maybe these won't count towards code coverage..?
Browse files Browse the repository at this point in the history
dontmesswithmycodecoverage lol
  • Loading branch information
meadowsys committed Aug 20, 2024
1 parent b6c55b3 commit c4c1f9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/memory_usage/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ pub trait MemoryUsageConst: Sized + MemoryUsageStatic {
const MEM_USE_CONST: usize;
}

fn _assert_mem_use_obj_safe(_: &dyn MemoryUsage) {}
fn _assert_mem_use_static_obj_safe(_: &dyn MemoryUsageStatic) {}
const _: &dyn MemoryUsage = &0u8;
const _: &dyn MemoryUsageStatic = &0u8;
// const is not object safe

/// Provides an impl of [`MemoryUsage::mem_use_stack`]
Expand Down

0 comments on commit c4c1f9b

Please sign in to comment.