Derives Copy for ffi::FromBytesUntilNulError#152367
Derives Copy for ffi::FromBytesUntilNulError#152367Conaclos wants to merge 1 commit intorust-lang:mainfrom
Copy for ffi::FromBytesUntilNulError#152367Conversation
|
r? @scottmcm rustbot has assigned @scottmcm. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
Since this is a new stable type, it amounts to new stable surface area, so it needs libs-api to weigh in on it and FCP it |
|
@rfcbot merge libs-api |
|
Team member @Amanieu has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
|
🔔 This is now entering its final comment period, as per the review above. 🔔 |
ffi::FromBytesWithNulErrorderivesCopysince Rust 1.93 whileffi::FromBytesUntilNulErrordoesn't.This Pr fixes that by deriving
Copyforffi::FromBytesUntilNulError.I encountered this issue while I was working in a const context.
Note: I couldn't find any documentation about what kind of PR is allowed. As this one is very small, I guess it is ok to submit it directly without opening an issue first?