Mercurial > crates > nonstick
comparison libpam-sys/libpam-sys-impls/src/lib.rs @ 126:57c812e308bd
Fix punctuation in PamImpl docstring.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Mon, 30 Jun 2025 21:52:10 -0400 |
parents | 0f913ec120ac |
children |
comparison
equal
deleted
inserted
replaced
125:2b255c92417b | 126:57c812e308bd |
---|---|
29 TokenStream::from_iter([ | 29 TokenStream::from_iter([ |
30 data.into(), | 30 data.into(), |
31 TokenStream::from_str(include_str!(concat!(env!("OUT_DIR"), "/pam_impl_enum.rs"))).unwrap(), | 31 TokenStream::from_str(include_str!(concat!(env!("OUT_DIR"), "/pam_impl_enum.rs"))).unwrap(), |
32 quote!( | 32 quote!( |
33 impl PamImpl { | 33 impl PamImpl { |
34 #[doc = concat!("The PAM implementation this was built for (currently `", stringify!(#variant), ")`.")] | 34 #[doc = concat!("The PAM implementation this was built for (currently `", stringify!(#variant), "`).")] |
35 pub const CURRENT: Self = Self::#variant; | 35 pub const CURRENT: Self = Self::#variant; |
36 } | 36 } |
37 ), | 37 ), |
38 ]).into() | 38 ]).into() |
39 } | 39 } |