We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
the code from P.520:
$( fields.insert($crate::ToString::to_string($key), json!($value)); )*
the code in this repository is:
$( fields.insert($crate::macros::ToString::to_string($key), json!($value)); )*
It should use the second version $crate::macros::ToString because ToString is private, just like HashMap?
$crate::macros::ToString
ToString
HashMap
😄
The text was updated successfully, but these errors were encountered:
CC @jorendorff
Thank you for reporting the problem!
The book and the example code do disagree, as he says.
Sorry, something went wrong.
No branches or pull requests
the code from P.520:
the code in this repository is:
It should use the second version
$crate::macros::ToString
becauseToString
is private, just likeHashMap
?😄
The text was updated successfully, but these errors were encountered: