Skip to content

A simple proc macro to turn its token input into a char, similar to the built-in stringify! macro.

License

Notifications You must be signed in to change notification settings

PROMETHIA-27/charify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Charify

A simple proc macro to turn its token input into a char, similar to the built-in stringify! macro.

Examples

println!("Hell{}, w{}rld!", charify!(o), charify!(o));

Result: "Hello, world!"

println!("What{} Outrageous{}", charify!(?), charify!(!))

Result: "What? Outrageous!"

About

A simple proc macro to turn its token input into a char, similar to the built-in stringify! macro.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages