Skip to content

Commit

Permalink
lint: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Jan 5, 2022
1 parent 1c269e2 commit 7becf1a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions examples/story/0037-message-router-for-watch-event.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ Conclusions:
2. 根据数据生成路由规则函数。


## Rust Rule Engine

link: [Building a Datalog engine in under 300 lines of Rust](https://github.com/frankmcsherry/blog/blob/master/posts/2018-05-19.md)

## Rule Engine

Patterns: `action` - `condition`.
Expand Down
2 changes: 1 addition & 1 deletion src/helper/entry_watcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ fn feed_by_event(event: Event, search_url: &str, workspace: &Path) -> Result<(),
}

debug!("feed_by_event {:?}", &event);
let (typ, file) = entry_file_by_path(&path, workspace)?;
let (typ, file) = entry_file_by_path(path, workspace)?;
feed_document(search_url, &typ, &file)?;
}

Expand Down

0 comments on commit 7becf1a

Please sign in to comment.