[snowpatch] [PATCH 1/3] Rework main() to return a Result()
Andrew Donnellan
andrew.donnellan at au1.ibm.com
Thu Dec 13 14:17:48 AEDT 2018
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,
--
Andrew Donnellan OzLabs, ADL Canberra
andrew.donnellan at au1.ibm.com IBM Australia Limited
More information about the snowpatch
mailing list