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

Changed to use from_utf8_lossy again #4

Merged
merged 1 commit into from
Nov 26, 2016
Merged

Conversation

perlun
Copy link
Owner

@perlun perlun commented Nov 26, 2016

The reason I changed to this before was that I couldn't get it working with the Cow object. Today, I checked the problem again and found the solution: into_owned, which takes ownership of the borrowed data (by copying it). Wonderful!

The reason I changed to this before was that I couldn't get it working with the `Cow` object. Today, I checked the problem again and found the solution: `into_owned`, which takes ownership of the borrowed data (by copying it). Wonderful!

Also fixed a linting issue I happened to see when reading the Travis output.
@perlun perlun force-pushed the fix/get-rid-of-unsafe-code branch from e4c28e5 to 26091fe Compare November 26, 2016 10:51
@perlun perlun merged commit 10bf5f4 into master Nov 26, 2016
@perlun perlun deleted the fix/get-rid-of-unsafe-code branch November 26, 2016 10:58
@mpalmujoki
Copy link
Collaborator

You don't really expect me to review on a saturday, so I guess the 8 minute review time could be acceptable in this case. 😝

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