-
Notifications
You must be signed in to change notification settings - Fork 27
Change the type of the URI constant to CStr or URI #47
Copy link
Copy link
Open
Labels
🦀 Blocked on Rust featureImplementing this requires Rust features that aren't stabilized yetImplementing this requires Rust features that aren't stabilized yet🌟 ErgonomicsLittle things that matter! Does not add functionality, but makes an API easier to useLittle things that matter! Does not add functionality, but makes an API easier to use
Metadata
Metadata
Assignees
Labels
🦀 Blocked on Rust featureImplementing this requires Rust features that aren't stabilized yetImplementing this requires Rust features that aren't stabilized yet🌟 ErgonomicsLittle things that matter! Does not add functionality, but makes an API easier to useLittle things that matter! Does not add functionality, but makes an API easier to use
Type
Fields
Give feedbackNo fields configured for issues without a type.
This is a request from Reddit (link to comment) to change the type of the
URIconstant of theUriBoundtrait toCStrorUri. Then, the constant would be created with thefrom_bytes_with_nul_uncheckedfunction, which explicitly says that the input has to contain a null character and why this trait is unsafe to implement.This is mostly a cosmetic change, but a good and helpful one.