Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn foo(x: bool) -> impl core::fmt::Debug {
- if x {
- 42i32
- } else {
- 42u32
- }
- }
- fn main() {
- dbg!(foo(true));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement