chiark / gitweb /
accounts: Require Debug for Perm
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 19 May 2021 19:51:33 +0000 (20:51 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 19 May 2021 21:01:40 +0000 (22:01 +0100)
This makes debugging a bit easier.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/accounts.rs

index 3ea5c893396898d6f4bd8710016b8b70a028d016..fb6f17e227acfade6224bfde59e86d4b41dd000d 100644 (file)
@@ -460,7 +460,7 @@ pub mod loaded_acl {
   use authproofs::*;
 
   pub trait Perm: FromPrimitive + ToPrimitive +
-    Copy + Eq + Hash + Sync + Send + 'static
+    Copy + Eq + Hash + Debug + Sync + Send + 'static
   {
     type Auth;
     const NOT_FOUND: MgmtError;