]> git.lizzy.rs Git - rust.git/commitdiff
Merge #2164
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Sat, 2 Nov 2019 22:23:30 +0000 (22:23 +0000)
committerGitHub <noreply@github.com>
Sat, 2 Nov 2019 22:23:30 +0000 (22:23 +0000)
2164: Silence some warnings r=matklad a=lnicola

```
warning: unnecessary parentheses around type
   --> crates/ra_tt/src/buffer.rs:114:32
    |
114 |     pub fn end(self) -> Option<(&'a Subtree)> {
    |                                ^^^^^^^^^^^^^ help: remove these parentheses
    |
    = note: `#[warn(unused_parens)]` on by default

warning: unnecessary parentheses around type
   --> crates/ra_tt/src/buffer.rs:130:30
    |
130 |     fn entry(self) -> Option<(&'a Entry<'a>)> {
    |                              ^^^^^^^^^^^^^^^ help: remove these parentheses
```

Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>

Trivial merge