BurntSushi / BurntSushi/quickcheck
Add support for mut bindings in function arguments
Open
enhancement
help wanted
- Dominant language
- Rust
- Stars
- 2.8k
- Forks
- 165
- PR merge metrics
- No merged PRs in 30d
Description
I noticed that this works:
```rust
fn check_int_slices(v: HashSet, lens: Vec) -> bool {
let mut lens = lens;
...
}
```
but this doesn't:
```rust
fn check_int_slices(v: HashSet, mut lens: Vec) -> bool {
...
}
```
Error:
```rust
error: no rules expected the token `lens`
--> src/lib.rs:797:50
|
797 | fn check_int_slices(v: HashSet, mut lens: Vec) -> bool {
| ^^^^ no rules expected this token in macro call
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.