Mercurial > crates > nonstick
diff src/libpam/answer.rs @ 145:8f964b701652
Doc cleanup
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Sun, 06 Jul 2025 19:04:57 -0400 |
parents | ebb71a412b58 |
children | 4b3a5095f68c |
line wrap: on
line diff
--- a/src/libpam/answer.rs Sun Jul 06 11:59:26 2025 -0400 +++ b/src/libpam/answer.rs Sun Jul 06 19:04:57 2025 -0400 @@ -109,10 +109,9 @@ pub struct Answer { /// Owned pointer to the data returned in an answer. /// For most answers, this will be a - /// [`CHeapString`](CHeapString), but for + /// [`CHeapString`], but for /// [`BinaryQAndA`](crate::conv::BinaryQAndA)s (a Linux-PAM extension), - /// this will be a [`CHeapBox`] of - /// [`CBinaryData`](crate::libpam::memory::CBinaryData). + /// this will be a [`CHeapBox`] of [`BinaryPayload`]. pub data: Option<CHeapBox<c_void>>, /// Unused. Just here for the padding. return_code: c_int, @@ -175,7 +174,7 @@ } } -/// A [`Answer`] with [`CBinaryData`] in it. +/// A [`Answer`] with [`BinaryPayload`] in it. #[repr(transparent)] #[derive(Debug)] pub struct BinaryAnswer(Answer);