Skip to content

Commit

Permalink
Revert "Ignore clippy warnings on deprecated methods", due to rust-la…
Browse files Browse the repository at this point in the history
…ng/rust#54406

This reverts commit 427eaa7.
  • Loading branch information
ysimonson committed Nov 19, 2018
1 parent 1aad966 commit 91292e7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions capnpc/src/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,6 @@ fn generate_node(gen: &GeneratorContext,
Indent(
Box::new(Branch(vec![
Line("#[deprecated(since=\"0.9.2\", note=\"use into_reader()\")]".to_string()),
Line("#[allow(clippy::wrong_self_convention)]".to_string()),
Line(format!("pub fn as_reader(self) -> Reader<'a,{}> {{", params.params)),
Indent(Box::new(Line("self.into_reader()".to_string()))),
Line("}".to_string()),
Expand Down Expand Up @@ -1692,7 +1691,6 @@ fn generate_node(gen: &GeneratorContext,
}),
Indent(Box::new(Branch( vec!(
Line("#[deprecated(since=\"0.9.2\", note=\"use into_client()\")]".to_string()),
Line("#[allow(clippy::wrong_self_convention)]".to_string()),
Line(format!("pub fn from_server<_T: ::capnp::private::capability::ServerHook>(self) -> Client{} {{", bracketed_params)),
Indent(
Box::new(Line("self.into_client::<_T>()".to_string()))),
Expand Down

0 comments on commit 91292e7

Please sign in to comment.