Skip to content

Commit 1edc040

Browse files
committed
Remove const_eval_select hack
1 parent 6d0d2d4 commit 1edc040

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/intrinsics/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2279,7 +2279,7 @@ pub const fn const_eval_select<ARG: Tuple, F, G, RET>(
22792279
) -> RET
22802280
where
22812281
G: FnOnce<ARG, Output = RET>,
2282-
F: FnOnce<ARG, Output = RET>;
2282+
F: const FnOnce<ARG, Output = RET>;
22832283

22842284
/// A macro to make it easier to invoke const_eval_select. Use as follows:
22852285
/// ```rust,ignore (just a macro example)

0 commit comments

Comments
 (0)