Skip to content

Document core:slice package #5126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

sz-piotr
Copy link

@sz-piotr sz-piotr commented May 6, 2025

Tries to follow #5039 as close as possible.
If this is merged #2358 should be updated.

In addition to adding and updating doc comments the following changes are made:

  • Add #optional_allocator_error to map utilities
  • Improve procedure argument naming

Map_Entry :: struct($Key, $Value: typeid) {
key: Key,
value: Value,
}

/*
Similar to `Map_Entry` but also includes the hash of the key.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should probably just document this struct fully here; don't make the user go looking somewhere else to find a full definition?

So, something like A map entry, including a key, a value, and the hash of the key

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