Skip to content

Conversation

crlf0710
Copy link
Member

@crlf0710 crlf0710 commented Apr 7, 2020

cc #369 .

}
}

pub fn from_fallible<E>(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is getting to be an annoying amount of boilerplate -- not to be addressed in this PR, but I wonder if we can cleanup and encapsulate this pattern better.

@nikomatsakis nikomatsakis merged commit 31ea6d8 into rust-lang:master Apr 7, 2020
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