#![allow(unused_imports)] //! This file provides a macro to delegate the implementation of a //! type that wraps a graph. More precisely, the macro helps the //! wrapper type implement the various Graph-related traits. use proc_macro::TokenStream; use core::iter::Peekable; #[proc_macro_derive(Testing)] pub fn test_derive(input: TokenStream) -> TokenStream { let input = input.into_iter().peekable(); for tree in input { println!("tree = {tree:?}"); } TokenStream::new() }