mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 03:03:40 +00:00
684c4bfef1
- Rename them both `as_str`, which is the typical name for a function that returns a `&str`. (`to_string` is appropriate for functions returning `String` or maybe `Cow<'a, str>`.) - Change `UnOp::as_str` from an associated function (weird!) to a method. - Avoid needless `self` dereferences. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |