Skip to content

Make Bound helpers return Option<Self> #644

@maurolacy

Description

@maurolacy

Now that we are using helpers for building Bounds, let's improve the syntax by making those helpers return Option<Bound> directly.

So that instead of Some(Bound::inclusive(key)) or Some(Bound::exclusive(key)), we can just write Bound::inclusive(key) / Bound::exclusive(key).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions