[snowpatch] [PATCH 1/3] Rework main() to return a Result()

Michael Ellerman mpe at ellerman.id.au
Fri Dec 14 17:07:51 AEDT 2018


Andrew Donnellan <andrew.donnellan at au1.ibm.com> writes:

> On 13/12/18 1:43 pm, Michael Ellerman wrote:
>> Turn main() into run() and have it return a Result(). Then in main()
>> we print a message for the error case.
>> 
>> We could just return Result() directly from main() but that prints the
>> Err() with {:?} which is ugly.
>
> Series applied to master: 7a52b417bf71ee91937ee95cde82c8a268c33087
>
> (With Signed-off-bys added)

Thanks!

cheers


More information about the snowpatch mailing list