From 6a429144309cef53c5d8c772b9e9c25416c50cee Mon Sep 17 00:00:00 2001 From: Chris Overcash Date: Mon, 1 Jun 2020 13:54:48 -0700 Subject: [PATCH] Fix broken link in Command documentation. (#1008) --- CHANGELOG.md | 4 ++++ druid/src/command.rs | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf2abaadf1..673d72d274 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -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 @@ -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 diff --git a/druid/src/command.rs b/druid/src/command.rs index 0b010973c9..ac501b5f93 100644 --- a/druid/src/command.rs +++ b/druid/src/command.rs @@ -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(&self, selector: Selector) -> Option<&T> { if self.symbol == selector.symbol() {