Skip to content

Commit

Permalink
Added 'static bound to Conv
Browse files Browse the repository at this point in the history
All of these types are intended to be unit structs, so there should be
no harm in that.
  • Loading branch information
Dzuchun committed Nov 17, 2024
1 parent 8ff3b30 commit 3b93616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 3b93616

Please sign in to comment.