Skip to content

Remove true/false statics and replace them with literals - #153

Merged
pczarn merged 1 commit into
contain-rs:masterfrom
kay-lambdadelta:master
Jul 9, 2026
Merged

Remove true/false statics and replace them with literals#153
pczarn merged 1 commit into
contain-rs:masterfrom
kay-lambdadelta:master

Conversation

@kay-lambdadelta

Copy link
Copy Markdown
Contributor

I was having an issue with some code I was working on using this library where the true/false statics were not being inlined. This replaces them with literals, which should be easier for the compiler to reason around.

@pczarn

pczarn commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Thanks. This is supported since Rust 1.21: rust-lang/rust#43838

@pczarn
pczarn merged commit 77ad0d6 into contain-rs:master Jul 9, 2026
7 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