about summary refs log tree commit diff
path: root/src/rustllvm/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorCDirkx <christiaan@dirkx.com>2020-08-31 03:43:47 +0200
committerCDirkx <christiaan@dirkx.com>2020-08-31 03:43:47 +0200
commitaf24bdbd96120d34f36595127376a3bf2800a7b6 (patch)
tree119ba06f77a0f2822787dc2057be7601fd488a7f /src/rustllvm/CoverageMappingWrapper.cpp
parent36b0d7e25769e88fec85e1d073196065a7f2d7c4 (diff)
downloadrust-af24bdbd96120d34f36595127376a3bf2800a7b6.tar.gz
rust-af24bdbd96120d34f36595127376a3bf2800a7b6.zip
Make `cow_is_borrowed` methods const
Constify the following methods of `alloc::borrow::Cow`:
 - `is_borrowed`
 - `is_owned`

These methods are still unstable under `cow_is_borrowed`.
Possible because of #49146 (Allow if and match in constants).

Tracking issue: #65143
Diffstat (limited to 'src/rustllvm/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions