clean tests/ui/serde.rs
Cleaning the empty lines for clarity.
This commit is contained in:
parent
bf6d4b7129
commit
ffb768cf8d
2 changed files with 4 additions and 6 deletions
|
@ -37,7 +37,6 @@ impl<'de> serde::de::Visitor<'de> for B {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn visit_string<E>(self, _v: String) -> Result<Self::Value, E>
|
fn visit_string<E>(self, _v: String) -> Result<Self::Value, E>
|
||||||
|
|
||||||
where E: serde::de::Error,
|
where E: serde::de::Error,
|
||||||
{
|
{
|
||||||
unimplemented!()
|
unimplemented!()
|
||||||
|
|
|
@ -2,11 +2,10 @@ error: you should not implement `visit_string` without also implementing `visit_
|
||||||
--> $DIR/serde.rs:39:5
|
--> $DIR/serde.rs:39:5
|
||||||
|
|
|
|
||||||
39 | / fn visit_string<E>(self, _v: String) -> Result<Self::Value, E>
|
39 | / fn visit_string<E>(self, _v: String) -> Result<Self::Value, E>
|
||||||
40 | |
|
40 | | where E: serde::de::Error,
|
||||||
41 | | where E: serde::de::Error,
|
41 | | {
|
||||||
42 | | {
|
42 | | unimplemented!()
|
||||||
43 | | unimplemented!()
|
43 | | }
|
||||||
44 | | }
|
|
||||||
| |_____^
|
| |_____^
|
||||||
|
|
|
|
||||||
note: lint level defined here
|
note: lint level defined here
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue