-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Code example in std::net::lookup_host is not working #24332
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
Comments
We need an explicit |
@steveklabnik when I click on the codepen link, I do see an explicit |
Right, but I think it does the wrong thing, because that main is generated by Rustdoc. It's only a theory, I could be wrong |
Oh! No, this is #24597 |
bors
added a commit
that referenced
this issue
Apr 20, 2015
This patch will make links like http://doc.rust-lang.org/std/collections/struct.BTreeMap.html#examples actually playable without modifying the code. It seems that this patch cannot be tested on test/rustdoc. And I suggest adding a `&run=1` to those links. Thank @jorisgio for noticing me this! r? @steveklabnik Closes #24332
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Th example here: https://doc.rust-lang.org/std/net/fn.lookup_host.html shows
The text was updated successfully, but these errors were encountered: