Skip to content

feat: add spec for slice::contains - #2896

Open
wood-ghost wants to merge 1 commit into
verus-lang:mainfrom
wood-ghost:contains
Open

wood-ghost wants to merge 1 commit into
verus-lang:mainfrom
wood-ghost:contains

Conversation

@wood-ghost

Copy link
Copy Markdown
Contributor

The spec for slice::contains can also be used as specification

pub fn contains(&self, x: &T) -> bool
where
    T: PartialEq,

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

wood-ghost added a commit to wood-ghost/verus that referenced this pull request Sep 9, 2026

This branch has not been deployed

No deployments
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.

1 participant