Skip to content

Conversation

@QuietMisdreavus
Copy link
Contributor

Fixes #291

The learn_rust crate had a line in its crate docs which had no space between the //! and the first character - and the first character was a multibyte character. Combined with the code this PR is changing, docs.rs started slicing a string in an improper location, causing the build to panic and fail.

I ran the code on my test server and built learn_rust-0.1.2, and it worked just fine.

@onur
Copy link
Contributor

onur commented Feb 9, 2019

👍

@QuietMisdreavus QuietMisdreavus merged commit 58621fa into rust-lang:master Feb 13, 2019
@QuietMisdreavus QuietMisdreavus deleted the bad-slice branch February 13, 2019 15:09
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

Successfully merging this pull request may close these issues.

2 participants