aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2023-08-16 22:02:46 +0200
committerHampusM <hampus@hampusmat.com>2023-08-16 22:02:46 +0200
commit595806824d41c696b660f40c01914a24e9618f1d (patch)
tree46dd0509d8bac20392a4297ab6bfb13f2095a584
parent9e1edb7c0e1021a02766bd539c151eefc53ee0ef (diff)
feat: make SomePtr implement Debug
-rw-r--r--src/ptr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ptr.rs b/src/ptr.rs
index 1facc52..f832687 100644
--- a/src/ptr.rs
+++ b/src/ptr.rs
@@ -55,7 +55,7 @@ macro_rules! create_as_variant_fn {
}
/// Some smart pointer.
-#[derive(strum_macros::IntoStaticStr)]
+#[derive(Debug, strum_macros::IntoStaticStr)]
pub enum SomePtr<Interface>
where
Interface: 'static + ?Sized,