about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-07-17 14:09:02 -0700
committerGitHub <noreply@github.com>2020-07-17 14:09:02 -0700
commitf6cd31c3b71139a301b23ad6107a5e0560bc3fe7 (patch)
treee5a54f2f3c06668bbde3ece55a4d44f25e1cf127 /src/rustllvm/RustWrapper.cpp
parent3006ea3560b454404a653a0677a3d03790d5455b (diff)
parente7d9944e205dc59f1174b584cd8ed41deced9646 (diff)
downloadrust-f6cd31c3b71139a301b23ad6107a5e0560bc3fe7.tar.gz
rust-f6cd31c3b71139a301b23ad6107a5e0560bc3fe7.zip
Rollup merge of #73930 - a1phyr:feature_const_option, r=dtolnay
Make some Option methods const

Tracking issue: #67441

Constantify the following methods of `Option`:
- `as_ref`
- `is_some`
- `is_none`
- `iter` (not sure about this one, but it is possible, and will be useful when const traits are a thing)

cc @rust-lang/wg-const-eval @rust-lang/libs
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions