Merge pull request #221 from RadicalZephyr/book-typo

Fix doc typos
This commit is contained in:
Niko Matsakis 2020-06-05 17:45:52 -04:00 committed by GitHub
commit 37b3c054fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@ That is, when someone requests the text of a file for the first time:
3. Invalidate the cached file once the watcher sends a change notification.
This is possible to achieve in salsa, using a derived query and `report_synthetic_read` and `invalidate` queries.
The setup looks roughtly like this:
The setup looks roughly like this:
```rust,ignore
#[salsa::query_group(VfsDatabaseStorage)]

View file

@ -62,8 +62,8 @@ This will result in a dependency graph like so:
request_text --> parse --> header --> content_type --> (other queries)
```
The advantage of this is that changes that only effect the "body" of
only consume small parts of itthe request will
The advantage of this is that changes that only effect the "body" or
only consume small parts of the request will
not require us to re-execute `content_type` at all. This would be particularly
valuable if there are a lot of dependent headers.