Update trait object syntax to use 'dyn'

This commit is contained in:
Sean McArthur
2019-06-03 13:14:33 -07:00
parent 1d26d7b472
commit 964d87ce57
7 changed files with 10 additions and 10 deletions

View File

@@ -5,7 +5,7 @@
extern crate reqwest;
extern crate env_logger;
fn main() -> Result<(), Box<std::error::Error>> {
fn main() -> Result<(), Box<dyn std::error::Error>> {
env_logger::init();
println!("GET https://www.rust-lang.org");