SIGN IN SIGN UP
bevyengine / bevy UNCLAIMED

A refreshingly simple data-driven game engine built in Rust

0 0 59 Rust

Add push, join_*, and empty methods to ParsedPath. (#23650)

# Objective

Fixed #13227

## Solution

This implements the 'mutates self' variant of the API, aside from
`join`. This is meant to mirror `PathBuf::push` vs `Path::join` - one
mutates, the other returns a new value.

## Testing

- Added doctests that verify basic behavior
- May want either examples or unit tests on the various push methods
- Tested on Windows, but that shouldn't matter

---------

Co-authored-by: Carter Anderson <mcanders1@gmail.com>
Co-authored-by: François Mockers <francois.mockers@vleue.com>
R
Rune Tynan committed
f3a36cdf0b3647f4a4c6c8233ec66462c83046f7
Parent: b556c9d
Committed by GitHub <noreply@github.com> on 5/21/2026, 11:07:47 AM