Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Conversation

@silathdiir
Copy link

Description

Reference N-07:

The codebase contains some instances where the HashMap method or_insert_with is being used to construct default values. Some examples:
Line 73
Line 92
For cleaner and more efficient code, consider replacing instances of or_insert_with that are used for simple default value initialization with the more concise or_default() method.

@silathdiir silathdiir requested a review from lispc November 9, 2023 06:45
@lispc lispc merged commit b02de5d into develop Nov 13, 2023
@lispc lispc deleted the openzeppelin-audit-n-07 branch November 13, 2023 05:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants