Skip to content
New issue

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

Rustdoc hidden code example is incorrect #11645

Closed
huonw opened this issue Jan 18, 2014 · 0 comments
Closed

Rustdoc hidden code example is incorrect #11645

huonw opened this issue Jan 18, 2014 · 0 comments

Comments

@huonw
Copy link
Member

huonw commented Jan 18, 2014

The example at the end of http://static.rust-lang.org/doc/master/rustdoc.html#defining-tests looks like

```rust

do spawn { fib(200); }
```

There should be the #-prefixed definition of fib in the empty line, since we're trying to demonstrate this functionality.

@bors bors closed this as completed in 4004493 Feb 1, 2014
flip1995 pushed a commit to flip1995/rust that referenced this issue Oct 21, 2023
Update ui_test to 0.21.2

Hopefully fixes rust-lang#11489

r? `@flip1995`

changelog: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant