SHARE
TWEET

Untitled

a guest Oct 20th, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fn foo(x: bool) -> impl core::fmt::Debug {
  2.     if x {
  3.         42i32
  4.     } else {
  5.         42u32
  6.     }
  7. }
  8.  
  9. fn main() {
  10.     dbg!(foo(true));
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top