Skip to content

Commit

Permalink
♻️ Move private const below all pub items
Browse files Browse the repository at this point in the history
  • Loading branch information
jokeyrhyme committed Nov 16, 2024
1 parent b402171 commit 08bf221
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ use xml::{
Document, Element, PolicyContext, PolicyElement, RuleAttributes, RuleElement, TypeElement,
};

const STANDARD_SYSTEM_SERVICEDIRS: &[&str] = &[
"/usr/local/share/dbus-1/system-services",
"/usr/share/dbus-1/system-services",
"/lib/dbus-1/system-services",
];

#[derive(Clone, Debug, Deserialize, PartialEq)]
pub enum Access {
Allow,
Expand Down Expand Up @@ -580,6 +574,12 @@ impl From<RuleAttributes> for SendOperation {
}
}

const STANDARD_SYSTEM_SERVICEDIRS: &[&str] = &[
"/usr/local/share/dbus-1/system-services",
"/usr/share/dbus-1/system-services",
"/lib/dbus-1/system-services",
];

#[cfg(test)]
mod tests {
use super::*;
Expand Down

0 comments on commit 08bf221

Please sign in to comment.