mirror of
https://github.com/Noratrieb/stuff.git
synced 2026-01-15 00:45:08 +01:00
fix import paths
This commit is contained in:
parent
52e9951ba4
commit
85fff5f090
2 changed files with 5 additions and 2 deletions
|
|
@ -1,5 +1,3 @@
|
|||
use core::mem;
|
||||
|
||||
use sptr::Strict;
|
||||
|
||||
/// A backend where the stuffed pointer is stored. Must be bigger or equal to the pointer size.
|
||||
|
|
@ -38,6 +36,9 @@ pub unsafe trait Backend<T> {
|
|||
|
||||
#[cfg(test)] // todo: this mustn't affect the msrv, fix this later
|
||||
mod backend_size_asserts {
|
||||
use core::mem;
|
||||
|
||||
use super::Backend;
|
||||
|
||||
#[allow(dead_code)] // :/
|
||||
const fn assert_same_size<A, B>() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue