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
ok!
The current ok! macro configuration doesn't allow the passing of the numbers or chars directly due to conflicting with the token tree arm.
let number_response = ok!(100); // compile error... let char_response = ok!('a'); // compile error...
The workaround so far:
let n = 100; let number_response = ok!(n); let ch = 'a'; let char_response = ok!(ch);
The text was updated successfully, but these errors were encountered:
RomanEmreis
No branches or pull requests
The current
ok!
macro configuration doesn't allow the passing of the numbers or chars directly due to conflicting with the token tree arm.The workaround so far:
The text was updated successfully, but these errors were encountered: