-
-
Save QuietMisdreavus/47764ae6d1ac5c45569e96a375906e49 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pub struct Bounded<T: Clone>(T); | |
pub struct SomeStruct; | |
fn asdf() -> Bounded<SomeStruct> { | |
impl Clone for SomeStruct { | |
fn clone(&self) -> SomeStruct { | |
SomeStruct | |
} | |
} | |
Bounded(SomeStruct) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment