Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix broken link in documentation #1008

Merged
merged 1 commit into from
Jun 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ You can find its changes [documented below](#060---2020-06-01).

### Docs

- Fixed a link in `druid::command` documentation. ([#1008] by [@covercash2])

### Examples

### Maintenance
Expand Down Expand Up @@ -213,6 +215,7 @@ Last release without a changelog :(
[@yrns]: https://github.com/yrns
[@jrmuizel]: https://github.com/jrmuizel
[@scholtzan]: https://github.com/scholtzan
[@covercash2]: https://github.com/covercash2

[#599]: https://github.com/xi-editor/druid/pull/599
[#611]: https://github.com/xi-editor/druid/pull/611
Expand Down Expand Up @@ -306,6 +309,7 @@ Last release without a changelog :(
[#997]: https://github.com/xi-editor/druid/pull/997
[#1001]: https://github.com/xi-editor/druid/pull/1001
[#1003]: https://github.com/xi-editor/druid/pull/1003
[#1008]: https://github.com/xi-editor/druid/pull/1008

[Unreleased]: https://github.com/xi-editor/druid/compare/v0.6.0...master
[0.6.0]: https://github.com/xi-editor/druid/compare/v0.5.0...v0.6.0
Expand Down
1 change: 1 addition & 0 deletions druid/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ impl Command {
/// Panics when the payload has a different type, than what the selector is supposed to carry.
/// This can happen when two selectors with different types but the same key are used.
///
/// [`is`]: #method.is
/// [`get_unchecked`]: #method.get_unchecked
pub fn get<T: Any>(&self, selector: Selector<T>) -> Option<&T> {
if self.symbol == selector.symbol() {
Expand Down