Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use std::fmt::Debug;
- struct Foo<T> {
- a: T
- }
- impl<T> Foo<T> {
- fn foo() {
- let x: Option<T> = None;
- }
- }
- fn main() {
- Foo::<usize>::foo();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement