Skip to content
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