Skip to content

readme 2nd example: StringError not valid UTF-8 #613

@bsansouci

Description

@bsansouci

Hey guys, I'm super noob and was trying to run the 2nd example but got an error. Here is the exact error I'm getting:

thread '<main>' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: InvalidInput, error: StringError("stream did not contain valid UTF-8") }) }', /Users/rustbuild/src/rust-buildbot/slave/stable-dist-rustc-mac/build/src/libcore/result.rs:729
An unknown error occurred

I didn't change the example code, I just copy pasted it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions