This big chain might be clearer if you first `and` the options together: ```rust package_config.target_hardware,.as_ref().and(app_package).and(hardware); ``` _Originally posted by @rylev in https://github.com/Azure/azure-sphere-gallery/pull/101#discussion_r1039413974_