From 9e9698213c84cc7318190208b10e787185ac4070 Mon Sep 17 00:00:00 2001 From: Cristian Kubis Date: Sat, 11 Jul 2015 13:48:10 +0200 Subject: [PATCH] doc: remove playground links for structs and traits --- src/librustdoc/html/static/playpen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustdoc/html/static/playpen.js b/src/librustdoc/html/static/playpen.js index b7a5f202629..ef8bdf5e2ce 100644 --- a/src/librustdoc/html/static/playpen.js +++ b/src/librustdoc/html/static/playpen.js @@ -17,7 +17,7 @@ document.addEventListener('DOMContentLoaded', function() { } var featureRegexp = new RegExp('^\s*#!\\[feature\\(\.*?\\)\\]'); - var elements = document.querySelectorAll('pre.rust'); + var elements = document.querySelectorAll('pre.rust-example-rendered'); Array.prototype.forEach.call(elements, function(el) { el.onmouseover = function(e) {