Skip to content

Commit

Permalink
Merge pull request #129 from baoyachi/fix_clippy
Browse files Browse the repository at this point in the history
Fix clippy
  • Loading branch information
baoyachi authored Feb 16, 2023
2 parents 6179d11 + 8cc63ae commit 5e3ba65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gen_const.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ build_env:{},{}"#,PKG_VERSION, TAG, SHORT_COMMIT, BUILD_TIME, RUST_VERSION, RUST
const VERSION_CONST_DESC: &str = r#"/// The common version const. It's so easy to use this const."#;

const CLAP_VERSION_CONST_DESC: &str =
r#"/// The common version const. It's so easy to use this const with CLAP_VERSION."#;
r#"/// The common version const. It's so easy to use this const with `CLAP_VERSION`."#;

const CLAP_LONG_VERSION_CONST_DESC: &str =
r#"/// The common version const. It's so easy to use this const with CLAP_VERSION."#;
r#"/// The common version const. It's so easy to use this const with `CLAP_VERSION`."#;

gen_const!(
version_branch_const,
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ const SHADOW_RS: &str = "shadow.rs";
#[macro_export]
macro_rules! shadow {
($build_mod:ident) => {
#[doc = r#"shadow-rs mod"#]
pub mod $build_mod {
include!(concat!(env!("OUT_DIR"), "/shadow.rs"));
}
Expand Down

0 comments on commit 5e3ba65

Please sign in to comment.