Mercurial > crates > nonstick
diff src/lib.rs @ 96:f3e260f9ddcb
Make conversation trait use immutable references.
Since sending a conversation a message doesn't really "mutate" it,
it shouldn't really be considered "mutable" for that purpose.
| author | Paul Fisher <paul@pfish.zone> |
|---|---|
| date | Mon, 23 Jun 2025 14:26:34 -0400 |
| parents | 5ddbcada30f2 |
| children | b87100c5eed4 |
line wrap: on
line diff
--- a/src/lib.rs Mon Jun 23 14:03:44 2025 -0400 +++ b/src/lib.rs Mon Jun 23 14:26:34 2025 -0400 @@ -40,7 +40,7 @@ #[doc(inline)] pub use crate::{ constants::{ErrorCode, Flags, Result}, - conv::{BinaryData, Conversation, SimpleConversation}, + conv::{BinaryData, Conversation, ConversationAdapter}, handle::{PamHandleApplication, PamHandleModule, PamShared}, module::PamModule, };
