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:
parent
8ff3b30c02
commit
3b936169f6
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue