Mercurial > crates > nonstick
comparison libpam-sys/src/lib.rs @ 189:b2456d274576 default tip
Add line breaks that rustfmt ate back to documentation.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Thu, 31 Jul 2025 15:42:12 -0400 |
parents | 0730f5f2ee2a |
children |
comparison
equal
deleted
inserted
replaced
188:e9f224e52b3e | 189:b2456d274576 |
---|---|
6 //! - The [`pam_impl`] submodule (and the associated [`pam_impl_name!`] macro), | 6 //! - The [`pam_impl`] submodule (and the associated [`pam_impl_name!`] macro), |
7 //! which can be used to detect the current PAM implementation. | 7 //! which can be used to detect the current PAM implementation. |
8 //! - The [`aliases`] submodule, which contains convenient aliases | 8 //! - The [`aliases`] submodule, which contains convenient aliases |
9 //! for callback types used in libpam, so you don't have to type | 9 //! for callback types used in libpam, so you don't have to type |
10 //! `unsafe extern "C" fn(this is so long)` all the time. | 10 //! `unsafe extern "C" fn(this is so long)` all the time. |
11 #![doc = ""] | |
11 #![doc = concat!("This documentation was built for the **", pam_impl_name!(), "** implementation.")] | 12 #![doc = concat!("This documentation was built for the **", pam_impl_name!(), "** implementation.")] |
12 //! | 13 //! |
13 //! You can override this **at build time** by setting the `LIBPAMSYS_IMPL` | 14 //! You can override this **at build time** by setting the `LIBPAMSYS_IMPL` |
14 //! environment variable to one of the values of the [`pam_impl::PamImpl`] enum. | 15 //! environment variable to one of the values of the [`pam_impl::PamImpl`] enum. |
15 //! For more information about configuration, see the documentation of | 16 //! For more information about configuration, see the documentation of |