Skip to content

Change .join("") to .concat() - #58200

Merged
miguelraz merged 1 commit into
mainfrom
concat_is_new_join
Jun 1, 2026
Merged

Change .join("") to .concat()#58200
miguelraz merged 1 commit into
mainfrom
concat_is_new_join

Conversation

@miguelraz

Copy link
Copy Markdown
Contributor

Self-Review Checklist:

  • I've reviewed my own diff for quality, security, and reliability
  • Unsafe blocks (if any) have justifying comments
  • The content is consistent with the UI/UX checklist
  • Tests cover the new/changed behavior
  • Performance impact has been considered and is acceptable

Release Notes:

  • N/A

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Jun 1, 2026
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label Jun 1, 2026
@miguelraz miguelraz changed the title lint fix: change .join("") to .concat() lint fix: Change .join("") to .concat() Jun 1, 2026

@Anthony-Eid Anthony-Eid left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this lint apart of CI? I didn't notice any of our clippy settings change

@Veykril Veykril changed the title lint fix: Change .join("") to .concat() Lint Fix: change .join("") to .concat() Jun 1, 2026
@Veykril Veykril changed the title Lint Fix: change .join("") to .concat() lint fix: Change .join("") to .concat() Jun 1, 2026
@miguelraz

Copy link
Copy Markdown
Contributor Author

@Anthony-Eid it's actually not picked up by Clippy!

I checked after running scripts/clippy and they didn't get picked up.

I think I should just upstream it since it sounds like overkill for dylint.

@miguelraz

Copy link
Copy Markdown
Contributor Author

Ah, there's failing tests. I'll fix them and push.

@maxdeviant maxdeviant changed the title lint fix: Change .join("") to .concat() Change .join("") to .concat() Jun 1, 2026
@miguelraz
miguelraz force-pushed the concat_is_new_join branch from 51196da to 8d47899 Compare June 1, 2026 16:49
@miguelraz
miguelraz enabled auto-merge June 1, 2026 16:52
@miguelraz
miguelraz force-pushed the concat_is_new_join branch from 8d47899 to 18651c9 Compare June 1, 2026 16:53
@miguelraz
miguelraz added this pull request to the merge queue Jun 1, 2026
Merged via the queue into main with commit df4058e Jun 1, 2026
32 checks passed
@miguelraz
miguelraz deleted the concat_is_new_join branch June 1, 2026 17:07
TomPlanche pushed a commit to TomPlanche/zed that referenced this pull request Jun 2, 2026
Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable


Release Notes:

- N/A
This was referenced Jun 18, 2026
jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable


Release Notes:

- N/A
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable


Release Notes:

- N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants