From ec44da120bf08065cab5c42f7da26a8e06b76f4d Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 23 Jul 2023 05:29:35 -0700 Subject: [PATCH] Update PR 259: tokens are the output of the program --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d3be4a5..bfc91a9 100644 --- a/README.md +++ b/README.md @@ -243,8 +243,8 @@ written to a file; the conversion from tokens to source code is lossy. Example usage in build.rs: ```rust -let input = quote! { ... }; -let syntax_tree = syn::parse2(input).unwrap(); +let output = quote! { ... }; +let syntax_tree = syn::parse2(output).unwrap(); let formatted = prettyplease::unparse(&syntax_tree); let out_dir = env::var_os("OUT_DIR").unwrap();