Skip to content

Simplify code in "cargo azsphere package" #108

@BarryBo

Description

@BarryBo
    This big chain might be clearer if you first `and` the options together:
package_config.target_hardware,.as_ref().and(app_package).and(hardware);

Originally posted by @rylev in #101 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions