# Improve Rust syntax highlighting \(\#25333\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/3e75a661dd6d5837b4c4b15f10b5fcfc19306beb)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 3e75a661dd6d5837b4c4b15f10b5fcfc19306beb

Requested commit: 3e75a661dd6d5837b4c4b15f10b5fcfc19306beb

Commit: 3e75a661dd6d5837b4c4b15f10b5fcfc19306beb

Tree: 91ef300d204a992289e378a1b7b0b85326d95435

Author: chbk

Committer: GitHub

## Message

````
Improve Rust syntax highlighting (#25333)

Release Notes:

  - Improved Rust syntax highlighting.

| Zed 0.174.6 | With this PR |
| --- | --- |
|
![Image](https://github.com/user-attachments/assets/0ec56dd0-2c17-4b5f-98e3-0897cb4e0192)
|
![Image](https://github.com/user-attachments/assets/309de467-dd32-47e9-ac40-96334a20d5c3)
|

- `identifier`: `variable`

```rust
let identifier = true;
const IDENTIFIER: i32 = 3;
```

---------

Co-authored-by: Marshall Bowers <git@maxdeviant.com>
````

## Parents

- [a9e753fc0755cd3fe6898b7c778fd9bce3d0c98c](https://git.cafe/gitcafe/zed/commit/a9e753fc0755cd3fe6898b7c778fd9bce3d0c98c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/3e75a661dd6d5837b4c4b15f10b5fcfc19306beb?format=markdown)
