diff options
| author | Lucas Burns <44355502+lmburns@users.noreply.github.com> | 2022-03-13 14:53:49 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-13 19:53:49 +0000 |
| commit | 7f587418daf8e7ddc5e32f06f85e9724c2ecf355 (patch) | |
| tree | 0b99cff50d1507a90409e2efe536da0bed8af1e4 /atuin-client/src/database.rs | |
| parent | Update fish bindings. (#265) (diff) | |
| download | atuin-7f587418daf8e7ddc5e32f06f85e9724c2ecf355.zip | |
Fix `history list --cwd` errors (#278)
Diffstat (limited to 'atuin-client/src/database.rs')
| -rw-r--r-- | atuin-client/src/database.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atuin-client/src/database.rs b/atuin-client/src/database.rs index 5e897cc0..3cb89472 100644 --- a/atuin-client/src/database.rs +++ b/atuin-client/src/database.rs @@ -283,7 +283,7 @@ impl Database for Sqlite { query: &str, ) -> Result<Vec<History>> { let orig_query = query; - let query = query.to_string().replace("*", "%"); // allow wildcard char + let query = query.to_string().replace('*', "%"); // allow wildcard char let limit = limit.map_or("".to_owned(), |l| format!("limit {}", l)); let query = match search_mode { |
