Skip to content

Commit

Permalink
[db] Qualify DbId in derive macro #698 (#699)
Browse files Browse the repository at this point in the history
Update lib.rs
  • Loading branch information
michaelvlach authored Aug 24, 2023
1 parent b170dc7 commit 912c2e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agdb_derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ pub fn db_user_value_derive(item: TokenStream) -> TokenStream {
});
let tokens = quote! {
impl agdb::DbUserValue for #name {
fn db_id(&self) -> Option<DbId> {
fn db_id(&self) -> Option<agdb::DbId> {
#db_id
}

Expand Down

0 comments on commit 912c2e0

Please sign in to comment.