rojo-rbx / rbx-dom

Roblox DOM and (de)serialization implementation in Rust
MIT License
113 stars 45 forks source link

Add `clear` and `drain` implementations to `Attributes` #409

Closed Dekkonot closed 5 months ago

Dekkonot commented 5 months ago

Took a liberty with how the drain implementation works but it's fine because BTreeMap doesn't have a drain method built into it.