Open anp opened 3 years ago
https://github.com/anp/moxie/blob/main/dom/src/interfaces/node.rs#L65
https://doc.rust-lang.org/stable/std/fmt/struct.Arguments.html#method.as_str is stable as of 1.53.
So um, this method is useful if format_args! has no args. Btw i think we could use .to_string() or thread local buffer for this.
format_args!
.to_string()
https://github.com/anp/moxie/blob/main/dom/src/interfaces/node.rs#L65
https://doc.rust-lang.org/stable/std/fmt/struct.Arguments.html#method.as_str is stable as of 1.53.