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

Fix chaining #5

Merged
merged 1 commit into from May 5, 2019

Conversation

Projects
None yet
2 participants
@mgeisler
Copy link

commented May 4, 2019

The original code was

let sme = await!(get_client_sme(wlan_svc, iface_id))?;
await!(sme.disconnect())
    .map_err(|e| format_err!("error sending disconnect request: {}", e))

so if the sme variable is elided, the get_client_sme line should not be terminated.

Fix chaining
The original code was

    let sme = await!(get_client_sme(wlan_svc, iface_id))?;
    await!(sme.disconnect())
        .map_err(|e| format_err!("error sending disconnect request: {}", e))

so if the sme variable is elided, the get_client_sme line should not be terminated.

@inejge inejge merged commit 5d056a9 into inejge:postfix-method May 5, 2019

@inejge

This comment has been minimized.

Copy link
Owner

commented May 5, 2019

Thanks (for both PRs)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.