Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upTracking issue for `str_utf16` stabilization #27714
Comments
aturon
added
T-libs
B-unstable
labels
Aug 12, 2015
This comment has been minimized.
This comment has been minimized.
|
Regarding naming: Regarding the API:
I suggest changing |
SimonSapin
referenced this issue
Aug 13, 2015
Merged
Refactor low-level UTF-16 decoding and move Borrow(Mut) to libcore. #27808
Ms2ger
referenced this issue
Aug 16, 2015
Open
Tracking: Unstable Rust feature gates used by Servo #5286
bors
added a commit
that referenced
this issue
Aug 27, 2015
This comment has been minimized.
This comment has been minimized.
|
While this still isn't ready for stabilization, I'm nominating for libs team discussion about @SimonSapin's proposals. |
aturon
added
I-nominated
I-needs-decision
and removed
I-nominated
labels
Nov 3, 2015
This comment has been minimized.
This comment has been minimized.
|
I've seen several people try to use this rather than |
alexcrichton
added
I-nominated
and removed
I-needs-decision
labels
Dec 16, 2015
This comment has been minimized.
This comment has been minimized.
|
@alexcrichton why remove the needs-decision tag? What do you think of the changes proposed in my previous comment? |
This comment has been minimized.
This comment has been minimized.
|
Ah I misinterpreted @aturon's original intention, but the libs team decided yesterday to talk about this during the next triage meeting, and |
aturon
removed
the
I-nominated
label
Jan 8, 2016
This comment has been minimized.
This comment has been minimized.
|
Libs team consensus: we agree with the proposed renaming, but feel that the current signature (returning an iterator) is the most consistent with the design elsewhere in the standard library, and that on balance the flexibility of an iterator outweighs the minor pain of writing |
alexcrichton
added
the
I-nominated
label
Jan 27, 2016
This comment has been minimized.
This comment has been minimized.
|
The libs team would like to rename the method to |
alexcrichton
added
final-comment-period
and removed
I-nominated
labels
Jan 29, 2016
This comment has been minimized.
This comment has been minimized.
|
The libs team discussed this during triage yesterday and the conclusion was to stabilize with the name |
aturon commentedAug 12, 2015
The
str_utf16feature tracks APIs likestr::utf16_unitsthat support utf16 encoding. These APIs are working well today, but it would be good to have a clear picture of the final state of APIs we'd like to have for various string encodings instd, and how that relates to other unicode support crates.cc @SimonSapin