diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-07-01 07:42:36 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-01 07:42:36 -0700 |
| commit | b7d13c0604f31791ff13558d76942395c29e3348 (patch) | |
| tree | 6f7428d5058dd0e5d5f03e9d6dc26298f0967da1 /src/rustllvm/CoverageMappingWrapper.cpp | |
| parent | ae79c30d74a52e81687bb35af6481eeeeafaeb84 (diff) | |
| parent | 2cde4932c7e8bd6000378af41029299ccf6eea69 (diff) | |
| download | rust-b7d13c0604f31791ff13558d76942395c29e3348.tar.gz rust-b7d13c0604f31791ff13558d76942395c29e3348.zip | |
Rollup merge of #73466 - matthiaskrgr:char_into_string, r=dtolnay
impl From<char> for String
This allows us to write
````rust
fn char_to_string() -> String {
'a'.into()
}
````
which was not possible before.
Diffstat (limited to 'src/rustllvm/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
