]> git.lizzy.rs Git - rust.git/commit
Deprecate String::from_str in favor of String::from
authorSimon Sapin <simon.sapin@exyr.org>
Sun, 7 Jun 2015 20:36:58 +0000 (22:36 +0200)
committerSimon Sapin <simon.sapin@exyr.org>
Sun, 7 Jun 2015 20:36:58 +0000 (22:36 +0200)
commit2ff42435c21289cdc668081446ca349f5eb4323c
tree7a218c2d74376512a536480a782156b000bb1e75
parent64d32b057edbf2e9223670c76df96f41e5bc1177
Deprecate String::from_str in favor of String::from

With the latter is provided by the `From` conversion trait, the former is now completely redundant. Their code is identical.
src/libcollections/string.rs