Skip to content

Instantly share code, notes, and snippets.

@yutopp
yutopp / playground.rs
Created September 11, 2018 19:04 — forked from rust-play/playground.rs
Code shared from the Rust Playground
#![feature(nll)]
#[derive(Debug)]
struct Node {
kind: Kind<Box<Node>>,
loc: i32,
}
#[derive(Debug)]
enum Kind<T> {