diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2016-10-13 13:44:57 +0200 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2016-10-13 13:44:57 +0200 |
| commit | c239fee2b60c756f88e5dd7abdb945de5b699bea (patch) | |
| tree | 22efbdb5fb54fc1ff64c85bdd7fb297fc245dcaa /src | |
| parent | 8dd9493cf291b31ebe2e6c3aa18f259156fd9d89 (diff) | |
| download | rust-c239fee2b60c756f88e5dd7abdb945de5b699bea.tar.gz rust-c239fee2b60c756f88e5dd7abdb945de5b699bea.zip | |
fix typo in diagnostic sample code
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_typeck/diagnostics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs index 781991e7bb6..16f915c0011 100644 --- a/src/librustc_typeck/diagnostics.rs +++ b/src/librustc_typeck/diagnostics.rs @@ -2828,7 +2828,7 @@ that impl must be declared as an `unsafe impl. For example: #![feature(dropck_eyepatch)] struct Foo<X>(X); -impl<#[may_dangle] X> Drop for Foo { +impl<#[may_dangle] X> Drop for Foo<X> { fn drop(&mut self) { } } ``` |
