Use pattern matching instead of if and else that return true and false

Authored by ognarb on Oct 31 2018, 11:52 PM.

Description

Use pattern matching instead of if and else that return true and false

Differential Revision: https://phabricator.kde.org/D16576

Details

Committed
ognarbNov 1 2018, 9:30 AM
Differential Revision
D16576: Use more rust syntactic sugar
Parents
R881:b8ebcfae05af: GIT_SILENT made messages (after extraction)
Branches
Unknown
Tags
Unknown