We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c17a8d commit f396223Copy full SHA for f396223
src/hinter/cwd_aware.rs
@@ -53,7 +53,7 @@ impl Hinter for CwdAwareHinter {
53
history.session(),
54
))
55
.unwrap_or_default()
56
- .get(0)
+ .first()
57
.map_or_else(String::new, |entry| {
58
entry
59
.command_line
src/hinter/default.rs
@@ -23,7 +23,7 @@ impl Hinter for DefaultHinter {
23
24
25
.expect("todo: error handling")
26
27
28
29
0 commit comments