rust-lang/cargo — pull request #253 by jdeseno (2014-07-24 02:01:21+00:00)
Title: Replace duplicate code for loading project manifest

A few of the sub-commands seem to use the same code for loading the project manifest.

I'd like to get rid of the nested matches but, I can't figure how to use something like `and_then` & `or_else` where the type is promoted (Option -> CargoResult etc.)