polish: listen to clippy

This commit is contained in:
Jonathan Kelley committed 2021-10-17 20:18:30 -04:00
1 parent a1afb9809a
commit f49244344c
9 files changed
+23 -137

No files matched your search

+2
View File
@@ -105,6 +105,8 @@ pub trait Properties: Sized {
fn builder() -> Self::Builder;
/// Memoization can only happen if the props are valid for the 'static lifetime
///
/// # Safety
/// The user must know if their props are static, but if they make a mistake, UB happens
/// Therefore it's unsafe to memeoize.
unsafe fn memoize(&self, other: &Self) -> bool;