Skip to content

Commit

Permalink
Fix compilation error introduced by inference change
Browse files Browse the repository at this point in the history
Fix #8.
  • Loading branch information
klemens committed Oct 25, 2019
1 parent c692a3e commit f77eb46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/cli/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ fn _main() -> Result<(), i32> {

// Add all non-empty inputs to the history
if ! line.is_empty() {
line_reader.add_history_entry(line.as_ref());
line_reader.add_history_entry(line);
}

if line.is_empty() {
Expand Down

0 comments on commit f77eb46

Please sign in to comment.