about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.cc
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2015-03-02 18:01:01 +0800
committerLai Jiangshan <laijs@cn.fujitsu.com>2015-03-03 13:34:11 +0800
commitbc98e9fbc239d335c33fc1751125f1212c47f8ef (patch)
tree20e315f0a1e7f08a2accab877a286212285cc7af /src/test/codegen/stack-alloc-string-slice.cc
parentb4c965ee803a4521d8b4575f634e036f93e408f3 (diff)
downloadrust-bc98e9fbc239d335c33fc1751125f1212c47f8ef.tar.gz
rust-bc98e9fbc239d335c33fc1751125f1212c47f8ef.zip
str: fix comments for FromStr for bool
Fix the return type in the comments.

An old commit 082bfde41217 ("Fallout of std::str stabilization") removed
the example of FromStr::from_str(), this commit adds it back. But
the example of StrExt::parse() is still kept with an additinal note.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.cc')
0 files changed, 0 insertions, 0 deletions