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

Fix palette! macro #2

Closed
rgiot opened this issue Nov 21, 2020 · 0 comments
Closed

Fix palette! macro #2

rgiot opened this issue Nov 21, 2020 · 0 comments

Comments

@rgiot
Copy link
Contributor

rgiot commented Nov 21, 2020

It fails when used in one project:

56 |           let palette = palette![
   |  _______________________^
57 | |                 "black".to_owned(),
58 | |                 "blue".to_owned(), "bright blue".to_owned(), "sky blue".to_owned(),
59 | |                 "red".to_owned(), "bright red".to_owned(), "purple".to_owned(),
60 | |                 "green".to_owned(), "bright green".to_owned(), "pastel green".to_owned()
61 | |         ];
   | |_________^ the trait `num_integer::Integer` is not implemented for `&cpc::Pen`
rgiot pushed a commit that referenced this issue Sep 17, 2023
@rgiot rgiot closed this as completed Sep 17, 2023
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