| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
2099: Fix panic on raw string assist r=matklad a=aee11
Strings that do not contain two quotation marks would cause a slice indexing panic because `find_usual_string_range` would return a range that only contained a single quotation mark.
Panic example:
```
fn main() {
let s = "<|>
}
```
I noticed a lot of panics from the `make_raw_string` assist while working on another issue today.
Co-authored-by: Alexander Elís Ebenesersson <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Strings that do not contain two quotation marks
would cause a slice indexing panic because code
was assuming `find_usual_string_range` would return
a string with two quotes, but it would incorrectly
also return text ranges containing only a single quote.
|
|/
|
|
|
| |
We never actually use ability to create multiple actions out of a
single context
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| | |
1922: feat(assists): Make raw string unescaped r=matklad a=Geobert
Last piece of https://github.com/rust-analyzer/rust-analyzer/issues/1730
Co-authored-by: Geobert Quach <[email protected]>
|
| | |
|
| |
| |
| |
| | |
Count `"#*` streak only, extract the counting in a function, unit test this function
|
| |
| |
| |
| | |
Add max_hashes_streak + 1 hashes to the raw string
|
| | |
|
| | |
|
|/
|
|
| |
#1856
|
|
|