about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2021-03-07 10:41:09 +0900
committerGitHub <noreply@github.com>2021-03-07 10:41:09 +0900
commit0adc1965218bb24290c74f680d94c20799ff8f70 (patch)
tree6fc08a14292d837ed3145c579895c6f91fb36d7e /src/test/codegen/src-hash-algorithm
parentd1dc16623f9e143ec67b41e8392ae8906abb44e0 (diff)
parent79c2b75e88bdab5fccd7d63750ef11aff2f8eaba (diff)
downloadrust-0adc1965218bb24290c74f680d94c20799ff8f70.tar.gz
rust-0adc1965218bb24290c74f680d94c20799ff8f70.zip
Rollup merge of #82130 - jhpratt:const-option-result, r=RalfJung
Make some Option, Result methods unstably const

The following methods are now unstably const:

- Option::transpose
- Option::flatten
- Result::flatten

While some methods for could likely be made `const` in the future, nearly all of them require something to be dropped at compile-time, which isn't currently supported. The functions listed above should have a trivial path to stabilization.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions