diff options
Diffstat (limited to 'src/librustdoc/html/render.rs')
| -rw-r--r-- | src/librustdoc/html/render.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs index 3e6cffa1304..8831b5e7d96 100644 --- a/src/librustdoc/html/render.rs +++ b/src/librustdoc/html/render.rs @@ -225,13 +225,12 @@ struct Source<'a>(&'a str); // Helper structs for rendering items/sidebars and carrying along contextual // information +#[deriving(Copy)] struct Item<'a> { cx: &'a Context, item: &'a clean::Item, } -impl<'a> Copy for Item<'a> {} - struct Sidebar<'a> { cx: &'a Context, item: &'a clean::Item, } /// Struct representing one entry in the JS search index. These are all emitted |
