diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-10-04 18:27:18 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-10-06 14:57:09 +1100 |
| commit | e49a1470baee89823a49aa6ec7baa19aa033b88b (patch) | |
| tree | a26092f5500504e9da680096f6ae2404a16fb4b1 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 108e541cc2d73fc4548847a2cfddca5c3b3499e6 (diff) | |
| download | rust-e49a1470baee89823a49aa6ec7baa19aa033b88b.tar.gz rust-e49a1470baee89823a49aa6ec7baa19aa033b88b.zip | |
Factor out `insert_or_error`.
It appears identically as a closure in two functions. Also change its return type from `bool` to `Option<()>` so it can be used with `?`.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
