ruff/crates/ruff_linter
Dhruv Manilawala ec7456bac0
Rename as_str to to_str (#8886)
This PR renames the method on `StringLiteralValue` from `as_str` to
`to_str`. The main motivation is to follow the naming convention as
described in the [Rust API
Guidelines](https://rust-lang.github.io/api-guidelines/naming.html#ad-hoc-conversions-follow-as_-to_-into_-conventions-c-conv).
This method can perform a string allocation in case the string is
implicitly concatenated.
2023-11-28 18:50:42 -06:00
..
resources/test Update E402 to work at cell level for notebooks (#8872) 2023-11-29 00:32:35 +00:00
src Rename as_str to to_str (#8886) 2023-11-28 18:50:42 -06:00
Cargo.toml Bump version to v0.1.6 (#8744) 2023-11-17 13:29:19 -05:00