Skip to content

Commit

Permalink
Fix missed clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron1011 committed Aug 5, 2019
1 parent 2433d77 commit 60e4242
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pin-project-internal/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ pub fn pin_projectable(args: TokenStream, input: TokenStream) -> TokenStream {
#[cfg(feature = "renamed")]
lazy_static::lazy_static! {
pub(crate) static ref PIN_PROJECT_CRATE: String = {
let crate_name = proc_macro_crate::crate_name("pin-project")
.expect("pin-project-internal was used without pin-project!");
crate_name
proc_macro_crate::crate_name("pin-project")
.expect("pin-project-internal was used without pin-project!")
};
}

0 comments on commit 60e4242

Please sign in to comment.