Skip to content

Commit

Permalink
Add comment about potentially unsealing the trait
Browse files Browse the repository at this point in the history
  • Loading branch information
ratmice committed Feb 8, 2024
1 parent bdfa0e7 commit bc5fba0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
#![allow(missing_docs)]

mod sealed {
/// A [sealed trait](https://predr.ag/blog/definitive-guide-to-sealed-traits-in-rust/) which stops this trait
/// from being derived outside the library.
/// A [sealed trait](https://predr.ag/blog/definitive-guide-to-sealed-traits-in-rust/)
/// which stops this trait from being derived outside the library. This could be relaxed
/// in the future if there is are good reasons to allow outside impls.
pub trait FloatFuncsSealed {}
}

Expand Down

0 comments on commit bc5fba0

Please sign in to comment.