# editor: Handle more completions sort cases in Rust and Python \(\#29926\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 07b44803966f0a78b53071a0d679d17bb70e5061

Requested commit: 07b44803966f0a78b53071a0d679d17bb70e5061

Commit: 07b44803966f0a78b53071a0d679d17bb70e5061

Tree: 8a74fe7605b801cd3a150d08e21a32e0838b5a9d

Author: Smit Barmase

Committer: GitHub

## Message

```
editor: Handle more completions sort cases in Rust and Python (#29926)

Closes #29725

Adds 3 more tests for Rust `into` and `await` cases, and Python
`__init__` case. Tweaks sort logic to accommodate them.

Release Notes:

- Improved code completion sort order, handling more cases with Rust and
Python.
```

## Parents

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

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