Temporarily remove pretty printing for token streams

This commit is contained in:
Dennis 2022-08-02 11:53:35 +02:00 committed by Keavon Chambers
parent 20f4271e91
commit fa461f3157
2 changed files with 3 additions and 3 deletions

View file

@ -26,7 +26,7 @@ ide_db = { version = "*", package = "ra_ap_ide_db" , optional = true }
storage-map = { version = "*", optional = true }
lock_api = { version= "*", optional = true }
parking_lot = { version = "*", optional = true }
pretty-token-stream = {path = "../../pretty-token-stream"}
#pretty-token-stream = {path = "../../pretty-token-stream"}
syn = {version = "1.0", default-features = false, features = ["parsing", "printing"]}
proc-macro2 = {version = "1.0", default-features = false, features = ["proc-macro"]}
quote = {version = "1.0", default-features = false }

View file

@ -108,8 +108,8 @@ fn main() {
output: syn::Type::Verbatim(quote! {u32}),
};
let pretty = pretty_token_stream::Pretty::new(nodegraph.serialize_gpu("add"));
pretty.print();
//let pretty = pretty_token_stream::Pretty::new(nodegraph.serialize_gpu("add"));
//pretty.print();
/*
use dyn_any::{downcast_ref, DynAny, StaticType};
//let mut mul = mul::MulNode::new();