Update books.

This commit is contained in:
Sunli 2021-03-04 12:13:08 +08:00
parent c7d1a8527d
commit a456faa511
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ struct Query;
impl Query {
async fn borrow_from_context_data<'ctx>(
&self,
ctx: &'ctx Context<'_>
ctx: &Context<'ctx>
) -> Result<&'ctx String> {
ctx.data::<String>()
}

View File

@ -13,7 +13,7 @@ struct Query;
impl Query {
async fn borrow_from_context_data<'ctx>(
&self,
ctx: &'ctx Context<'_>
ctx: &Context<'ctx>
) -> Result<&'ctx String> {
ctx.data::<String>()
}