oxc/crates/oxc_span
Don Isaac 679495c3ec
feat(atom): get &str from Atom<'a> with lifetime of 'a (#3420)
Change `Atom<'a>::as_str(&self) -> &str` to `Atom<'a>::as_str(&self) ->
&'a str`.

This API is more ergonomic for external `oxc` consumers relying on
`&str` data collected while traversing an AST.

I also enhanced some nearby doc comments and implemented some
`From<...>` traits while I was at it.
2024-05-27 09:05:33 +08:00
..
src feat(atom): get &str from Atom<'a> with lifetime of 'a (#3420) 2024-05-27 09:05:33 +08:00
Cargo.toml Release crates v0.13.1 2024-05-22 16:50:30 +08:00
CHANGELOG.md Release crates v0.13.0 2024-05-14 23:14:15 +08:00