Fix Clippy warning (#718)
Fix Clippy warning (#718)

Rewrite `match` block using `matches` macro as it is now a
recommended way to perform such checks
cossacklabs/themis,cossacklabs/themis,cossacklabs/themis,cossacklabs/themis,cossacklabs/themis,cossacklabs/themis,cossacklabs/themis,cossacklabs/themis,cossacklabs/themis,cossacklabs/themis,cossacklabs/themis,cossacklabs/themis,cossacklabs/themis