Added 'static bound to Conv

All of these types are intended to be unit structs, so there should be
no harm in that.
This commit is contained in:
Dzuchun 2024-11-17 20:35:59 +02:00
commit 3b936169f6

View file

@ -25,7 +25,7 @@ pub struct Seal(());
/// If you need to convert between them, see [`Comp`].
///
/// This trait is sealed.
pub trait Conv {
pub trait Conv: 'static {
/// See [`Seal`]
const SEAL: Seal;