Skip to content

Commit 3191fb1

Browse files
authored
Merge pull request #98 from epage/crate
fix: Add missing $crate in macro
2 parents 0b3e2ca + 3bef62c commit 3191fb1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ pub struct Metadata {
6969
#[macro_export]
7070
macro_rules! metadata {
7171
() => {
72-
Metadata {
72+
$crate::Metadata {
7373
version: env!("CARGO_PKG_VERSION").into(),
7474
name: env!("CARGO_PKG_NAME").into(),
7575
authors: env!("CARGO_PKG_AUTHORS").replace(":", ", ").into(),

0 commit comments

Comments
 (0)