3 ms·
Likely none: Ruleset is type Ruleset []Rule The original code creates a local copy of a rule and explicitly returns a pointer to that. Taking the ruleset
by masklinn 4y ago
Likely none: Ruleset is
type Ruleset []Rule
The original code creates a local copy of a rule and explicitly returns a pointer to that. Taking the ruleset by address wouldn't change that issue.