dtolnay / dtolnay/linkme

Feature: Way to force a 'last item'

Open
#64 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
890
Forks
46
PR merge metrics
No merged PRs in 30d

Description

I'm trying to use linkme as part of writing extensions for other languages, such as PHP. It's working very well for this case, with one exception: currently, I have to clone the slice to add a null item on the end for lists that must be null-terminated on the PHP end. It would be nice if there was a way to provide a guaranteed 'last item' when defining the list, or something similar.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.