getcursor / cursor

The AI Code Editor
https://cursor.com
23.97k stars 1.51k forks source link

### Description #1364

Open Ahmedahasssan opened 6 months ago

Ahmedahasssan commented 6 months ago

Description

Small change to make the switch more clear and avoid creating 4 arrays that are generally unneeded.


What is the purpose of this pull request?

Originally posted by @patak-dev in https://github.com/vitejs/vite/pull/15647