diff options
| author | Aleksey Kladov <aleksey.kladov@gmail.com> | 2020-08-29 14:29:23 +0200 |
|---|---|---|
| committer | Aleksey Kladov <aleksey.kladov@gmail.com> | 2020-08-31 17:37:57 +0200 |
| commit | 1baf3ff7e98ea14e84159e213bd9872efd53e07f (patch) | |
| tree | 6112dfbca79d4379a9b94a719cf2e0788a47f26a /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 1fd8636d2428658cf46df53fb4f445558689fd1c (diff) | |
| download | rust-1baf3ff7e98ea14e84159e213bd9872efd53e07f.tar.gz rust-1baf3ff7e98ea14e84159e213bd9872efd53e07f.zip | |
Avoid StringReader when checking code blocks for syntax errors
`parse_stream_from_source_str` is a more stable API to convert a string into a bunch of tokens, and it also catches errors about mismatched parenthesis.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
