Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn main() {
- println!("{:?}", {
- use std::iter::*: once("call").chain(repeat(" ret")).take(20).collect::<String>()
- });
- }
- /* ~~~~=== stderr ===~~~~
- Compiling playground v0.0.1 (file:///playground)
- error: expected `;`, found `:`
- --> src/main.rs:5:25
- |
- 5 | use std::iter::*: once("call").chain(repeat(" ret")).take(20).collect::<String>()
- | ^ expected `;`
- error: aborting due to previous error
- error: Could not compile `playground`.
- To learn more, run the command again with --verbose.
- */
- /* ~~~~=== stdout ===~~~~
- */
Add Comment
Please, Sign In to add comment