diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2023-03-17 19:29:23 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2023-03-17 19:55:49 -0700 |
| commit | 35088797aec481a9549d5d495b27ce9f1e3a39dd (patch) | |
| tree | 3149b05bf9937c72534e6c884a14e3a36def1be3 /compiler/rustc_parse/src/parser/expr.rs | |
| parent | e4b9f86054c581d931f8bad0c87523c53e1e8e3f (diff) | |
| download | rust-35088797aec481a9549d5d495b27ce9f1e3a39dd.tar.gz rust-35088797aec481a9549d5d495b27ce9f1e3a39dd.zip | |
Use `size_of_val` instead of manual calculation
Very minor thing that I happened to notice in passing, but it's both shorter and means it gets `mul nuw`, so why not.
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions
