no need to return unmatched_delims from tokentrees

This commit is contained in:
yukang 2023-02-22 06:09:57 +00:00
parent 9ce7472db4
commit 88de2e1115
2 changed files with 6 additions and 11 deletions

View file

@ -43,7 +43,6 @@ pub(crate) fn string_to_stream(source_str: String) -> TokenStream {
ps.source_map().new_source_file(PathBuf::from("bogofile").into(), source_str),
None,
)
.0
}
/// Parses a string, returns a crate.