drop mut on self in MatchEntry::match_flags

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2020-06-09 12:09:27 +02:00
parent 3b893e0346
commit 68f4fe972d

View File

@ -169,7 +169,7 @@ impl MatchEntry {
}
/// Directly access the match flags.
pub fn match_flags(&mut self) -> MatchFlag {
pub fn match_flags(&self) -> MatchFlag {
self.flags
}