# Fix failure to detect string scope, and disable quote autoclose in Rust \(\#2862\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e48bb1853c6a995f7ecb27f29890b78080a90528

Requested commit: e48bb1853c6a995f7ecb27f29890b78080a90528

Commit: e48bb1853c6a995f7ecb27f29890b78080a90528

Tree: 85856921bdfdc8a78df004275c795a6c19e7e12b

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Fix failure to detect string scope, and disable quote autoclose in Rust (#2862)

This regressed in https://github.com/zed-industries/zed/pull/2723
Fixes https://github.com/zed-industries/community/issues/684
Fixes
https://linear.app/zed-industries/issue/Z-1516/avoid-double-quotes-when-closing-a-string

Release Notes:

- Fixed a bug where auto-closing quotation marks were inserted
incorrectly in Rust.
 
```

## Parents

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

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

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