-
Notifications
You must be signed in to change notification settings - Fork 731
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
subscriber: improve docs on
Layer
composition (#566)
Depends on #564 This commit adds a new section to the `Layer` docs on how `Layer`s and `Subscriber`s are composed. Additionally, it updates the docs to prefer the use of `SubscriberExt::with` over `Layer::with_subscriber`. Additionally, I've fixed how `SubscriberExt::with` is implemented, so that `Layer`s may use `with_subscriber` as a callback for composition. Closes #452 Closes #505 (IMO)
- Loading branch information
Showing
4 changed files
with
140 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters