Skip to content

Commit

Permalink
Fix Rust fmt and clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Alecaddd committed Sep 20, 2024
1 parent 64ed905 commit 45bfe9d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/config.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
pub static APP_ID: &str = "com.github.akiraux.akira";
#[allow(dead_code)]
pub static SLASHED_APP_ID: &str = "/com/github/akiraux/akira/";
#[allow(dead_code)]
pub static GETTEXT_PACKAGE: &str = "com.github.akiraux.akira";
#[allow(dead_code)]
pub static LOCALEDIR: &str = "/usr/local/share/locale";
#[allow(dead_code)]
pub static PKGDATADIR: &str = "/usr/local/share/com.github.akiraux.akira";
4 changes: 4 additions & 0 deletions src/config.rs.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
pub static APP_ID: &str = @APP_ID@;
#[allow(dead_code)]
pub static SLASHED_APP_ID: &str = @SLASHED_APP_ID@;
#[allow(dead_code)]
pub static GETTEXT_PACKAGE: &str = @GETTEXT_PACKAGE@;
#[allow(dead_code)]
pub static LOCALEDIR: &str = @LOCALEDIR@;
#[allow(dead_code)]
pub static PKGDATADIR: &str = @PKGDATADIR@;

0 comments on commit 45bfe9d

Please sign in to comment.