Stream: git-cranelift

Topic: cranelift / PR #1394 Don't return a Result for ObjectBuil...


view this post on Zulip GitHub (Feb 16 2020 at 16:44):

jyn514 opened PR #1394 from no-result to master:

Since it always returned an Ok(Self), there was no reason to have a
Result.

This is a small change that makes cranelift easier to use. It does not affect runtime behavior. Note that this is not backwards compatible.

This returns Self from ObjectBuilder::new instead of returning Result. Since new() can never fail, there's no reason to use Result.

N/A

r? @philipc
r? @bnjbvr

view this post on Zulip GitHub (Feb 21 2020 at 09:51):

bnjbvr submitted PR Review.

view this post on Zulip GitHub (Feb 21 2020 at 09:51):

bnjbvr merged PR #1394.


Last updated: Dec 23 2024 at 13:07 UTC