]> git.lizzy.rs Git - rust.git/commit
Add a doctest for the std::string::as_string method.
authorjbranchaud <jbranchaud@gmail.com>
Sun, 7 Dec 2014 23:47:00 +0000 (17:47 -0600)
committerjbranchaud <jbranchaud@gmail.com>
Tue, 9 Dec 2014 17:11:50 +0000 (11:11 -0600)
commitde3fcee2dcc2458d9365951933e87b93bc41c32c
treef8ae386208fd829fd141e274718d548e0146d80a
parent77cd5cc54eda4243614be32b893db512beab0f8e
Add a doctest for the std::string::as_string method.

Change Example to Examples.

Add a doctest that better demonstrates the utility of as_string.

Update the doctest example to use String instead of &String.
src/libcollections/string.rs