mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
clean tests/ui/serde.rs
Cleaning the empty lines for clarity.
This commit is contained in:
parent
bf6d4b7129
commit
ffb768cf8d
@ -37,7 +37,6 @@ impl<'de> serde::de::Visitor<'de> for B {
|
||||
}
|
||||
|
||||
fn visit_string<E>(self, _v: String) -> Result<Self::Value, E>
|
||||
|
||||
where E: serde::de::Error,
|
||||
{
|
||||
unimplemented!()
|
||||
|
@ -2,11 +2,10 @@ error: you should not implement `visit_string` without also implementing `visit_
|
||||
--> $DIR/serde.rs:39:5
|
||||
|
|
||||
39 | / fn visit_string<E>(self, _v: String) -> Result<Self::Value, E>
|
||||
40 | |
|
||||
41 | | where E: serde::de::Error,
|
||||
42 | | {
|
||||
43 | | unimplemented!()
|
||||
44 | | }
|
||||
40 | | where E: serde::de::Error,
|
||||
41 | | {
|
||||
42 | | unimplemented!()
|
||||
43 | | }
|
||||
| |_____^
|
||||
|
|
||||
note: lint level defined here
|
||||
|
Loading…
Reference in New Issue
Block a user