Project

General

Profile

Actions

Optimization #3832

closed

rust: Make core::* as enum to improve readability

Added by Shivani Bhardwaj about 2 years ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Target version:
Effort:
Difficulty:
Label:

Description

core::STREAM_TOSERVER and core::STREAM_TOCLIENT could be an enum so we can avoid the use of _ in match statements and instead just always explicitly use both directions.

- Victor on https://github.com/OISF/suricata/pull/5100#commitcomment-40185751

Actions #1

Updated by Shivani Bhardwaj almost 2 years ago

  • Status changed from Assigned to In Review
Actions #2

Updated by Victor Julien almost 2 years ago

  • Target version set to 7.0rc1
Actions #3

Updated by Victor Julien 10 months ago

  • Subject changed from Make core::* as enum to improve readability to rust: Make core::* as enum to improve readability
  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF