Constify `bool::then{,_some}` by fee1-dead · Pull Request #91918 · rust-lang/rus...
source link: https://github.com/rust-lang/rust/pull/91918
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Note on ~const Drop
: it has no effect when called from runtime functions, when called from const contexts, the trait system ensures that the type can be dropped in const contexts.
Recommend
-
5
New issue Constify copy related functions #83091 Convers...
-
8
Copy link Contributor CDirkx commented...
-
4
New issue Constify implementations of (Try)From for int types #86840
-
7
Copy link Member fee1-dead
-
1
New issue Fast reject for NeedsNonConstDrop #88965 Conversation ...
-
6
_old_layout: Layout, _new_layout: Layout, ) -> Resu...
-
1
Copy link Collaborator rust-timer
-
6
New issue Constify (most) Option methods #91928
-
4
Conversation Member ...
-
2
Reimplement C-str literals #113476 ...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK