chore: silence unused warnings (#1162)

This commit is contained in:
Matthias Seitz 2022-04-21 19:30:02 +02:00 committed by GitHub
parent 9047f96d95
commit 35c29c82c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ pub enum Response<'a> {
Error { id: u64, jsonrpc: &'a str, error: JsonRpcError },
}
#[allow(unused)]
impl Response<'_> {
pub fn id(&self) -> u64 {
match self {