srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/crates/platform/src
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2026-08-30 20:41:00 +0200
committersrdusr <[email protected]>2026-08-30 20:41:00 +0200
commitf2f9ed1b3f9c49b323ce591eb72a406058d324a4 (patch)
tree12a53c9c527c0a63a4d93ed197af3f9edf2fca79 /crates/platform/src
parentbac91a6162542025676f57afc3e514b88aa65366 (diff)
downloadsrdwm-f2f9ed1b3f9c49b323ce591eb72a406058d324a4.tar.gz
srdwm-f2f9ed1b3f9c49b323ce591eb72a406058d324a4.zip
Indent doc list continuations
Diffstat (limited to 'crates/platform/src')
-rw-r--r--crates/platform/src/ipc/types.rs6
-rw-r--r--crates/platform/src/pam_auth.rs6
2 files changed, 6 insertions, 6 deletions
diff --git a/crates/platform/src/ipc/types.rs b/crates/platform/src/ipc/types.rs
index 3243e31..0a8653c 100644
--- a/crates/platform/src/ipc/types.rs
+++ b/crates/platform/src/ipc/types.rs
@@ -422,9 +422,9 @@ pub(crate) struct WorkspacesEvent<'a> {
/// A third, independently-diffed event on the same `subscribe` connection
/// - see `WorkspacesEvent`'s own doc comment for why this isn't folded
-/// into either of the other two: a layout cycle touches no window and no
-/// workspace, so it needs its own change-diff to avoid pushing an
-/// unrelated payload on every unrelated change.
+/// into either of the other two: a layout cycle touches no window and no
+/// workspace, so it needs its own change-diff to avoid pushing an
+/// unrelated payload on every unrelated change.
#[derive(Serialize)]
pub(crate) struct KeyboardLayoutEvent<'a> {
pub(crate) event: &'static str,
diff --git a/crates/platform/src/pam_auth.rs b/crates/platform/src/pam_auth.rs
index bdad439..e9e5841 100644
--- a/crates/platform/src/pam_auth.rs
+++ b/crates/platform/src/pam_auth.rs
@@ -34,9 +34,9 @@ const SERVICE: &str = "srdwm";
/// password itself, resolves to `false`. Deliberately no distinction
/// between "wrong password" and "something is broken" in the return value
/// - fail secure means every non-success path stays locked, not just the
-/// ones that are the user's own fault. Logged at `warn` for whoever's
-/// debugging a setup problem, never at a level that would put the
-/// password itself in a log.
+/// ones that are the user's own fault. Logged at `warn` for whoever's
+/// debugging a setup problem, never at a level that would put the
+/// password itself in a log.
pub fn authenticate(username: &str, password: &str) -> bool {
let conversation = Conversation::with_credentials(username, password);
let mut context = match Context::new(SERVICE, Some(username), conversation) {