esp8266at: Add 'dyn' for traits as requested by compiler

This commit is contained in:
Wladimir J. van der Laan 2019-07-26 11:15:39 +00:00
parent c091f406eb
commit 838067dcb0

View File

@ -119,10 +119,10 @@ where
&mut self, &mut self,
resp: &Response, resp: &Response,
mut on_event: F, mut on_event: F,
debug: &mut fmt::Write, debug: &mut dyn fmt::Write,
) -> Result<(), S::Error> ) -> Result<(), S::Error>
where where
F: FnMut(&mut Self, NetworkEvent, &mut fmt::Write), F: FnMut(&mut Self, NetworkEvent, &mut dyn fmt::Write),
{ {
match resp { match resp {
Response::Echo(data) => { Response::Echo(data) => {