Skip to content

simplified code#1439

Merged
dmah42 merged 1 commit intogoogle:mainfrom
maochongxin:simplified_code
Jul 21, 2022
Merged

simplified code#1439
dmah42 merged 1 commit intogoogle:mainfrom
maochongxin:simplified_code

Conversation

@maochongxin
Copy link
Copy Markdown
Contributor

No description provided.

@dmah42
Copy link
Copy Markdown
Member

dmah42 commented Jul 21, 2022

i don't understand how this is simpler or better. can you add more details to why you think it's useful?

@maochongxin
Copy link
Copy Markdown
Contributor Author

i don't understand how this is simpler or better. can you add more details to why you think it's useful?

Thanks for reply, I think here, it is more appropriate to use the size() method directly than the size variable itself, the new size variable is more appropriate to represent the size of the new buffer.

@dmah42
Copy link
Copy Markdown
Member

dmah42 commented Jul 21, 2022

fair enough :) thanks!

@dmah42 dmah42 merged commit ef7f75f into google:main Jul 21, 2022
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.

2 participants