-
Notifications
You must be signed in to change notification settings - Fork 3
Const Char #5
Copy link
Copy link
Open
Labels
featureNew feature or requestNew feature or request
Description
Activity
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request
Although the
concat!macro seems to work fine on char literals (concat!('h', 'e', 'l', 'l', 'o')), it won't seem to accept a const char.Example:
provides the error:
no method named 'as_bytes' found for type 'char' in the current scope.Is there any chance to solve this?