Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct S<T> {
- x: *const T
- }
- impl<T> S<T> {
- fn new() -> Self {
- Self { x:std::ptr::null() }
- }
- }
- fn main() {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement