Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use TypeId of the #store_type instead of (K, R) #232

Closed
mightyiam opened this issue Jul 10, 2022 · 1 comment
Closed

Use TypeId of the #store_type instead of (K, R) #232

mightyiam opened this issue Jul 10, 2022 · 1 comment

Comments

@mightyiam
Copy link
Member

michie/macro/src/lib.rs

Lines 120 to 123 in c8c1ed4

fn obtain_type_id_with_inference_hint<K: 'static, R: 'static>(_k: &K) -> ::core::any::TypeId {
::core::any::TypeId::of::<(K, R)>()
}
obtain_type_id_with_inference_hint::<#key_type, #return_type>(#key_ref)

@mightyiam
Copy link
Member Author

Doesn't seem to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant