Skip to content

Simplify assign operations: use += and ++#1103

Merged
1 commit merged intooapi-codegen:masterfrom
alexandear-org:refactor-assign-op
Jul 28, 2023
Merged

Simplify assign operations: use += and ++#1103
1 commit merged intooapi-codegen:masterfrom
alexandear-org:refactor-assign-op

Conversation

@alexandear
Copy link
Copy Markdown
Contributor

@alexandear alexandear commented Jun 11, 2023

This PR does refactorings:

  • replace p.NextId = p.NextId + 1 with p.NextId++;
  • replace part = part + string(c) with part += string(c).

@ghost ghost merged commit 245e285 into oapi-codegen:master Jul 28, 2023
debuggerpk pushed a commit to breuHQ/oapi-codegen that referenced this pull request Sep 18, 2023
danicc097 pushed a commit to danicc097/oapi-codegen that referenced this pull request Aug 31, 2024
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant