Add dyn to Write
This commit is contained in:
parent
8e65a46268
commit
4cd004775c
@ -370,7 +370,7 @@ impl Class {
|
||||
}
|
||||
}
|
||||
|
||||
fn write_header(class: Option<&str>, out: &mut Write) -> io::Result<()> {
|
||||
fn write_header(class: Option<&str>, out: &mut dyn Write) -> io::Result<()> {
|
||||
write!(out, "<pre class=\"rust {}\">\n", class.unwrap_or(""))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user