Skip to content

v0.1.16-rc1

@tqchen tqchen tagged this 05 Nov 01:04
This PR removes `WalkResult::interrupt_with`. `WalkResult` is a plain
enum, so a handler builds the payload variant directly, as with std's
`ControlFlow::Break(value)`:

```rust
return WalkResult::InterruptWith(value.into());
```

The helper only added `.into()` and gave the variant a second spelling.
The Rust guide and the tests now use the variant.
Assets 2
Loading