mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 23:25:03 +00:00
rename mod
This commit is contained in:
parent
b82fe73d1a
commit
bc0f79f74a
4 changed files with 148 additions and 35 deletions
|
@ -411,10 +411,7 @@ struct PoolDispatcher<'a> {
|
|||
}
|
||||
|
||||
impl<'a> PoolDispatcher<'a> {
|
||||
fn on<'b, R>(
|
||||
&'b mut self,
|
||||
f: fn(ServerWorld, R::Params) -> Result<R::Result>,
|
||||
) -> Result<&'b mut Self>
|
||||
fn on<R>(&mut self, f: fn(ServerWorld, R::Params) -> Result<R::Result>) -> Result<&mut Self>
|
||||
where
|
||||
R: req::Request,
|
||||
R::Params: DeserializeOwned + Send + 'static,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue