Skip to content

fix: cleanup Path and PathBuf#41

Merged
nekevss merged 1 commit intoboa-dev:mainfrom
shruti2522:path/pathbuf
Mar 9, 2026
Merged

fix: cleanup Path and PathBuf#41
nekevss merged 1 commit intoboa-dev:mainfrom
shruti2522:path/pathbuf

Conversation

@shruti2522
Copy link
Contributor

added Finalize and Trace impls for Path and PathBuf. Without this using either inside a GC managed type would fail to compile when std is enabled.

@shruti2522 shruti2522 marked this pull request as ready for review March 7, 2026 17:10
Copy link
Member

@nekevss nekevss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a specific reason we need to support Path and PathBuf?

@shruti2522
Copy link
Contributor Author

Is there a specific reason we need to support Path and PathBuf?

Just to cleanup clippy warning since they were declared but never used

image

@nekevss
Copy link
Member

nekevss commented Mar 9, 2026

Ah, then let's remove these instead

@shruti2522
Copy link
Contributor Author

shruti2522 commented Mar 9, 2026

Ah, then let's remove these instead

Done

@shruti2522 shruti2522 changed the title fix: impl Trace and Finalize for Path and PathBuf fix: cleanup Path and PathBuf Mar 9, 2026
@nekevss nekevss merged commit a6fbaf1 into boa-dev:main Mar 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants