-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Todo List #12
Comments
I don't suppose I could bribe you with $20 USD to do Also I assume the intent is to take an array and/or slice of string literals and a joiner string? I can't imagine it'd be anything else but I just want to be sure |
Yes. The intent is to take string slices and concat them using a specified separator. I'll give it a try since someone needs it. |
Managed to make it partially work, but not with slices. macro_rules! join {
(join=$join:expr, $x:expr) => ($x);
(join=$join:expr, $x:expr, $($y:expr),+) => {
concat!($x, $join, join!(join=$join, $($y),+))
};
} |
I currently do not have $20 to give you. I swear I'm not just going back on the promise; Just give me until April. |
Finally have the money. Do you have a paypal account? |
See https://github.com/Nugine#sponsor. Thank you! |
New API:
compare!
strip_prefix!
strip_suffix!
lines!
join!
split_ascii_whitespace!
sorted!
Docs:
Upstream issues:
macro_export
indoc(hidden)
mod disappears rust-lang/rust#108231The text was updated successfully, but these errors were encountered: