You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code returns an error about 'unexpected close delimiter' even though all braces and parentheses are matched correctly:
#![feature(conservative_impl_trait)]externcrate futures;externcrate tokio_core;use futures::future::{self};use futures::future::*;use tokio_core::reactor::Core;fnmain(){letmut core = Core::new().expect("Failed to initialize tokio_core reactor!");let f = create_future();
core.run(f).unwrap();}fncreate_future() -> Result<()>return future::ok(());}
The text was updated successfully, but these errors were encountered:
mqudsi
changed the title
Wrong 'unexpected close delimiter' when Ok() is used in return type declaration
Wrong 'unexpected close delimiter' (not clear why)
Dec 10, 2017
The following code returns an error about 'unexpected close delimiter' even though all braces and parentheses are matched correctly:
The text was updated successfully, but these errors were encountered: