mirror of
https://github.com/laanwj/k210-sdk-stuff.git
synced 2024-11-22 01:16:20 +04:00
esp8266at: Add 'dyn' for traits as requested by compiler
This commit is contained in:
parent
c091f406eb
commit
838067dcb0
@ -119,10 +119,10 @@ where
|
||||
&mut self,
|
||||
resp: &Response,
|
||||
mut on_event: F,
|
||||
debug: &mut fmt::Write,
|
||||
debug: &mut dyn fmt::Write,
|
||||
) -> Result<(), S::Error>
|
||||
where
|
||||
F: FnMut(&mut Self, NetworkEvent, &mut fmt::Write),
|
||||
F: FnMut(&mut Self, NetworkEvent, &mut dyn fmt::Write),
|
||||
{
|
||||
match resp {
|
||||
Response::Echo(data) => {
|
||||
|
Loading…
Reference in New Issue
Block a user