Skip to content

Commit

Permalink
fix(zarrs_filesystem): fix clippy::single_char_pattern lint
Browse files Browse the repository at this point in the history
  • Loading branch information
LDeakin committed Jan 5, 2025
1 parent 186467b commit baa7100
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions zarrs_filesystem/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Bump `itertools` to 0.14

### Fixed
- Fix `clippy::single_char_pattern` lint

## [0.2.0] - 2024-11-15

### Changed
Expand Down
2 changes: 1 addition & 1 deletion zarrs_filesystem/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ impl FilesystemStore {
let path_str = path.to_string_lossy();
#[cfg(target_os = "windows")]
{
StoreKey::new(path_str.replace("\\", "/"))
StoreKey::new(path_str.replace('\\', "/"))
}
#[cfg(not(target_os = "windows"))]
{
Expand Down

0 comments on commit baa7100

Please sign in to comment.