-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
- Start Date: 2014-04-30 | ||
- RFC PR #: (leave this empty) | ||
- Rust Issue #: (leave this empty) | ||
|
||
# Summary | ||
|
||
`StrBuf` should be renamed to `String`. | ||
|
||
# Motivation | ||
|
||
Since `StrBuf` is so common, it would benefit from a more traditional name. | ||
|
||
# Drawbacks | ||
|
||
It may be that `StrBuf` is a better name because it mirrors Java `StringBuilder` or C# `StringBuffer`. It may also be that `String` is confusing because of its similarity to `&str`. | ||
|
||
# Detailed design | ||
|
||
Rename `StrBuf` to `String`. | ||
|
||
# Alternatives | ||
|
||
The impact of not doing this would be that `StrBuf` would remain `StrBuf`. | ||
|
||
# Unresolved questions | ||
|
||
None. |