Skip to content

chroot: dedup .is_empty()#13181

Open
oech3 wants to merge 1 commit into
uutils:mainfrom
oech3:chroot-unwrap
Open

chroot: dedup .is_empty()#13181
oech3 wants to merge 1 commit into
uutils:mainfrom
oech3:chroot-unwrap

Conversation

@oech3

@oech3 oech3 commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

assert! has same risk with .unwrap().

@sylvestre

Copy link
Copy Markdown
Contributor

why is it better than the previous code ?

@oech3

oech3 commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

Previous logic is duplicated.

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