comparison src/macros.rs @ 48:a921b72743e4

Upgrade to Rust 2021 edition.
author Paul Fisher <paul@pfish.zone>
date Tue, 15 Apr 2025 01:04:29 -0400
parents ce47901aab7a
children
comparison
equal deleted inserted replaced
47:2c172dd3e3f8 48:a921b72743e4
130 }; 130 };
131 } 131 }
132 132
133 #[cfg(test)] 133 #[cfg(test)]
134 pub mod test { 134 pub mod test {
135 use module::PamHooks; 135 use crate::module::PamHooks;
136 136
137 struct Foo; 137 struct Foo;
138 impl PamHooks for Foo {} 138 impl PamHooks for Foo {}
139 139
140 pam_hooks!(Foo); 140 pam_hooks!(Foo);