Rename DnsResponse::into_inner() -> into_message()
This commit is contained in:
parent
249fb26608
commit
c5ed00fda2
@ -281,7 +281,7 @@ impl DnsResponse {
|
||||
}
|
||||
|
||||
/// Take the inner Message from the response
|
||||
pub fn into_inner(self) -> Message {
|
||||
pub fn into_message(self) -> Message {
|
||||
self.0
|
||||
}
|
||||
}
|
||||
|
@ -477,7 +477,7 @@ async fn handle_request(
|
||||
}
|
||||
};
|
||||
|
||||
let response = response.into_inner();
|
||||
let response = response.into_message();
|
||||
println!("; received response");
|
||||
println!("{response}", response = response);
|
||||
Ok(())
|
||||
|
Loading…
Reference in New Issue
Block a user