# HG changeset patch # User Paul Fisher # Date 1751843097 14400 # Node ID 8f964b7016521bd7306590058774f8c9599f903f # Parent 56b559b7ecea2cc83a846cf392cc1b6754187846 Doc cleanup diff -r 56b559b7ecea -r 8f964b701652 src/libpam/answer.rs --- 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>, /// 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);