We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Brief explanation of type annotations (and possibly link to book).
0 | fn main() { 1 | let mut rdr: Box<io::Read> = match input { | ↑-------------↑ 2 | "-" => Box::new(io::stdin()), 3 | _ => Box::new(fs::File::open(input).unwrap()), 4 | }; 5 | }
Location: line 1, column 13
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What I expected
Brief explanation of type annotations (and possibly link to book).
Source code
Location: line 1, column 13
The text was updated successfully, but these errors were encountered: