Skip to content

Commit

Permalink
RFC: Rename StrBuf to String
Browse files Browse the repository at this point in the history
pcwalton committed May 20, 2014
1 parent 90232e3 commit 06d8770
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions active/0000-rename-strbuf.md
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.

0 comments on commit 06d8770

Please sign in to comment.