Skip to content

Conversation

therealprof
Copy link
Contributor

warning: unnecessary braces around block return value
     --> src/lib.rs:22188:62
      |
22188 | pub fn variant ( self , variant : HSEBYP_A ) -> & 'a mut W { { self . bit ( variant . into ( ) ) } } # [ doc = "HSE crystal oscillator not bypassed" ]
      |                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces

Signed-off-by: Daniel Egger [email protected]

```
warning: unnecessary braces around block return value
     --> src/lib.rs:22188:62
      |
22188 | pub fn variant ( self , variant : HSEBYP_A ) -> & 'a mut W { { self . bit ( variant . into ( ) ) } } # [ doc = "HSE crystal oscillator not bypassed" ]
      |                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
```

Signed-off-by: Daniel Egger <[email protected]>
@therealprof therealprof requested a review from a team as a code owner July 5, 2020 12:22
@rust-highfive
Copy link

r? @reitermarkus

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-tools labels Jul 5, 2020
@burrbull
Copy link
Member

burrbull commented Jul 5, 2020

bors r+

@bors bors bot merged commit 8b95499 into master Jul 5, 2020
@bors bors bot deleted the no-unnecessary-braces branch July 5, 2020 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-tools

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants