Post AsxgpCg0RcTPaTgJay by [email protected] | |
More posts by [email protected] | |
Post #AsxKLc8uzzRwtHgsPw by [email protected] | |
0 likes, 0 repeats | |
some people will tell you that you can't capture a docstring in a macro_rul… | |
Post #Asxgf2BObZeY96VyPw by [email protected] | |
0 likes, 0 repeats | |
@mjk is there maybe a way to parse the stringify! result into a TokenStream or … | |
Post #AsxgpCg0RcTPaTgJay by [email protected] | |
0 likes, 0 repeats | |
@mjk Works as long as the docstring doesn't have `"` c: | |
Post #AsxgueYaDJMxVKo9x2 by [email protected] | |
0 likes, 0 repeats | |
@lina I don't think so, because it has to run in a `const fn` 🙃 | |
Post #Au5YUEeMiHJh3hbEUS by [email protected] | |
0 likes, 0 repeats | |
@teivel oh yeah, that's definitely the most offensive part about this strat… | |
Post #Au5YUFu03dPuwTvEUy by [email protected] | |
0 likes, 0 repeats | |
@mjk You can write this as a tt-muncher macro and make it just work. | |
Post #Au5YUG0jeanxHN4bzs by [email protected] | |
0 likes, 0 repeats | |
@mjk Something like this :)https://play.rust-lang.org/?version=stable&mode=… | |
Post #Au5YUG7TFYBzcGDzUm by [email protected] | |
0 likes, 0 repeats | |
@mmastrac horrifying, thank you for this contribution 😁 | |
Post #Au5YUSimOfAMhRlxJY by [email protected] | |
0 likes, 0 repeats | |
@mjk If you think this is terrible, just wait until you see this wild parser I … |