1
0
Fork 0
forked from wry/wry

all: handle unused zwp_table_tool_v2 interface

This commit is contained in:
Julian Orth 2024-05-02 19:53:15 +02:00
parent a46ab007df
commit 1e24e6ca1a

View file

@ -723,6 +723,10 @@ fn write_request_handler<W: Write>(
messages: &ParseResult, messages: &ParseResult,
) -> Result<()> { ) -> Result<()> {
writeln!(f)?; writeln!(f)?;
// TODO: remove this after https://github.com/mahkoh/jay/pull/190
if camel_obj_name == "ZwpTabletToolV2" {
writeln!(f, " #[allow(dead_code)]")?;
}
writeln!( writeln!(
f, f,
" pub trait {camel_obj_name}RequestHandler: crate::object::Object + Sized {{" " pub trait {camel_obj_name}RequestHandler: crate::object::Object + Sized {{"