Skip to content

Commit 06d8770

Browse files
committed
RFC: Rename StrBuf to String
1 parent 90232e3 commit 06d8770

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

active/0000-rename-strbuf.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
- Start Date: 2014-04-30
2+
- RFC PR #: (leave this empty)
3+
- Rust Issue #: (leave this empty)
4+
5+
# Summary
6+
7+
`StrBuf` should be renamed to `String`.
8+
9+
# Motivation
10+
11+
Since `StrBuf` is so common, it would benefit from a more traditional name.
12+
13+
# Drawbacks
14+
15+
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`.
16+
17+
# Detailed design
18+
19+
Rename `StrBuf` to `String`.
20+
21+
# Alternatives
22+
23+
The impact of not doing this would be that `StrBuf` would remain `StrBuf`.
24+
25+
# Unresolved questions
26+
27+
None.

0 commit comments

Comments
 (0)