cargo fix --all

* it added "dyn" to trait objects
* it changed "..." in patterns to "..="

cargo --version says: "cargo 1.37.0-nightly (545f35425 2019-05-23)"
This commit is contained in:
Scott Lamb
2019-06-14 08:47:11 -07:00
parent 7dd98bb76a
commit 7fe9d34655
22 changed files with 83 additions and 83 deletions

View File

@@ -323,7 +323,7 @@ impl std::error::Error for Error {
"ffmpeg error"
}
fn cause(&self) -> Option<&std::error::Error> { None }
fn cause(&self) -> Option<&dyn std::error::Error> { None }
}
impl fmt::Display for Error {