Skip to content

Remove extraneous unwrap()#117

Open
royallthefourth wants to merge 1 commit into
steveklabnik:masterfrom
royallthefourth:patch-1
Open

Remove extraneous unwrap()#117
royallthefourth wants to merge 1 commit into
steveklabnik:masterfrom
royallthefourth:patch-1

Conversation

@royallthefourth

Copy link
Copy Markdown

env_logger::init() panics rather than returning an error, so unwrap() causes a compile error here.

`env_logger::init()` panics rather than returning an error, so `unwrap()` causes a compile error here.
@mwarning

Copy link
Copy Markdown

I had to remove unwrap() in order to compile simple-server.

My dependencies:

simple-server = "0.3.0"
log = "0.4.0"
env_logger = "0.5.13"

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