Mercurial > crates > nonstick
comparison src/libpam/handle.rs @ 183:4f46681b3f54
Catch a few stray cargo fmt things.
| author | Paul Fisher <paul@pfish.zone> |
|---|---|
| date | Wed, 30 Jul 2025 18:43:07 -0400 |
| parents | a1bb1d013567 |
| children | fb8b547b36b7 |
comparison
equal
deleted
inserted
replaced
| 182:346dc13724ce | 183:4f46681b3f54 |
|---|---|
| 520 let output: *const PamConv = output.cast(); | 520 let output: *const PamConv = output.cast(); |
| 521 // SAFETY: We got this result from PAM, and we're checking if it's null. | 521 // SAFETY: We got this result from PAM, and we're checking if it's null. |
| 522 unsafe { output.as_ref() }.ok_or(ErrorCode::ConversationError) | 522 unsafe { output.as_ref() }.ok_or(ErrorCode::ConversationError) |
| 523 } | 523 } |
| 524 } | 524 } |
| 525 |
