From ba97c812bd97c9a086aea5b3ce89c87e4b0222ec Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Sat, 8 Oct 2022 10:31:34 -0300 Subject: Improve errors --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index b6e28fd..b8a4f86 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -232,7 +232,7 @@ pub struct UBCheck(core::marker::PhantomData); #[cfg(all(not(feature="alloc"), not(feature="nightly")))] #[doc(hidden)] -pub struct UBCheck(T); +pub struct UBCheck(T); // use feature "alloc" or "nightly" for T: ?Sized #[cfg(feature="nightly")] // SAFETY: dropck's like a Box, but is no-alloc friendly. -- cgit 1.4.1