Skip to content
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

Fix example to compile #182

Merged
merged 3 commits into from
Apr 4, 2017
Merged

Fix example to compile #182

merged 3 commits into from
Apr 4, 2017

Conversation

steveklabnik
Copy link
Contributor

Previously, hoedown did not understand that this was an example. pulldown-cmark does. This fixes the example to be compile-able.

Fixes rust-lang/rust#40994

Previously, hoedown did not understand that this was an example. pulldown-cmark does. This fixes the example to be compile-able.

Fixes rust-lang/rust#40994
@steveklabnik
Copy link
Contributor Author

So, looks like this example overflows? Not sure what specifically you all want to do here.

@alexcrichton
Copy link
Contributor

for ch in 0..255 {
    let ch = ch as u8;
}

maybe?

i had this locally and forgot to update
@alexcrichton alexcrichton merged commit eb1cd5d into master Apr 4, 2017
@alexcrichton alexcrichton deleted the steveklabnik-patch-1 branch April 4, 2017 23:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rust 1.18 regression rustc-serialize doc tests have regressed
2 participants