From 28ecb6b0c1852afd6d67f101671e4c90bf69b93c Mon Sep 17 00:00:00 2001 From: Justin Starry Date: Mon, 20 Apr 2020 17:05:30 +0800 Subject: [PATCH] nits --- CHANGELOG.md | 2 +- yew/src/services/fetch/std_web.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 438227ae013..4980e6398e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -404,7 +404,7 @@ cloned is when a wrapper component re-renders nested children components. - #### ⚡️ Features - - `Future` support :tada: A `Component` can update following the completion of a `Future`. Check out [this example](https://github.com/yewstack/yew/tree/master/examples/futures) to see how it works. This approach was borrowed from a fork of Yew called [`plaster`](https://github.com/carlosdp/plaster) created by [@carlosdp]. [[@hgzimmerman], [#717](https://github.com/yewstack/yew/pull/717)] + - `Future` support :tada: A `Component` can update following the completion of a `Future`. Check out [this example](https://github.com/yewstack/yew/tree/v0.14.0/examples/futures) to see how it works. This approach was borrowed from a fork of Yew called [`plaster`](https://github.com/carlosdp/plaster) created by [@carlosdp]. [[@hgzimmerman], [#717](https://github.com/yewstack/yew/pull/717)] - Added the `agent` and `services` features so that this functionality can be disabled (useful if you are switching to using `Future`s). [[@hgzimmerman], [#684](https://github.com/yewstack/yew/pull/684)] - Add `ref` keyword for allowing a `Component` to have a direct reference to its rendered elements. For example, you can now easily focus an `` element after mounting. [[@jstarry], [#715](https://github.com/yewstack/yew/pull/715)] diff --git a/yew/src/services/fetch/std_web.rs b/yew/src/services/fetch/std_web.rs index 4fc657d2c42..48a06e75a24 100644 --- a/yew/src/services/fetch/std_web.rs +++ b/yew/src/services/fetch/std_web.rs @@ -166,7 +166,7 @@ impl FetchService { } /// Sends a request to a remote server given a Request object and a callback - /// fuction to convert a Response object into a loop's message. + /// function to convert a Response object into a loop's message. /// /// You may use a Request builder to build your request declaratively as on the /// following examples: