Files
wasmtime/cranelift/codegen/src
Nick Fitzgerald e3a423c3e8 Remove some uses of foo.expect(&format!(...)) pattern
This eagerly evaluates the `format!` and produces a `String` with a heap
allocation, regardless whether `foo` is `Some`/`Ok` or `None`/`Err`. Using
`foo.unwrap_or_else(|| panic!(...))` makes it so that the error message
formatting is only evaluated if `foo` is `None`/`Err`.
2021-10-25 17:35:23 -07:00
..
2021-10-10 14:43:55 +02:00
2021-10-12 14:22:07 +02:00
2021-10-04 19:11:52 +02:00
2021-10-04 19:11:52 +02:00
2020-04-15 17:21:28 -07:00
2019-10-24 17:20:12 -07:00
2021-10-04 19:11:52 +02:00