Finish refactoring, reducing some cloning
This commit is contained in:
parent
a270963824
commit
db0c2ef7f7
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ impl WikiLookup {
|
|||
("_assets", Some(asset)) =>
|
||||
Box::new(asset_lookup(asset)),
|
||||
("_changes", None) =>
|
||||
Box::new(ChangesLookup::new(self.state.clone()).lookup(query)),
|
||||
Box::new(self.changes_lookup.lookup(query)),
|
||||
("_new", None) =>
|
||||
Box::new(finished(Some(Box::new(NewArticleResource::new(self.state.clone(), None)) as BoxResource))),
|
||||
("_sitemap", None) =>
|
||||
|
|
Loading…
Reference in a new issue