Skip to content

Introduce Borrow trait#67

Merged
frankmcsherry merged 2 commits intofrankmcsherry:masterfrom
antiguru:borrowed
Sep 29, 2025
Merged

Introduce Borrow trait#67
frankmcsherry merged 2 commits intofrankmcsherry:masterfrom
antiguru:borrowed

Conversation

@antiguru
Copy link
Copy Markdown
Contributor

The Borrow trait describes a type that can be borrowed into a reference type. It encapsulates the read-only parts of what formerly was Container.

Similarly, we split PushIndexAs into this and BorrowIndexAs as a read-only variant.

antiguru and others added 2 commits September 29, 2025 10:20
The Borrow trait describes a type that can be borrowed into a reference
type. It encapsulates the read-only parts of what formerly was Container.

Similarly, we split PushIndexAs into this and BorrowIndexAs as a read-only
variant.

Signed-off-by: Moritz Hoffmann <antiguru@gmail.com>
@frankmcsherry frankmcsherry merged commit 9494d63 into frankmcsherry:master Sep 29, 2025
6 checks passed
@antiguru antiguru deleted the borrowed branch September 29, 2025 15:34
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