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 upRemove char::to_titlecase? #26555
Comments
brson
added
I-needs-decision
T-libs
labels
Jun 24, 2015
This comment has been minimized.
This comment has been minimized.
The method is marked as unstable so I'm fine just deleting it, I don't think it's marked to be stable. |
bors
closed this
in
32b7b50
Jun 25, 2015
brson
removed
the
I-needs-decision
label
Jul 7, 2015
jroesch
added a commit
to jroesch/rust
that referenced
this issue
Jul 21, 2015
thepowersgang
added a commit
to thepowersgang/rust
that referenced
this issue
Jul 25, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
brson commentedJun 24, 2015
Converting a string to titlecase requires a word-breaking algorithm, which std does not provide. We do have the method for converting a single char to titlecase, if one can identify the first char of a word. This method requires a few kb of lookup tables.
We might want to consider whether its wise to ship one without the other. This is marked for stabilization in 1.2 so we need to decide soon.
cc @SimonSapin @alexcrichton @aturon