We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
playpen.js
pre
1 parent d36dc15 commit 89ca858Copy full SHA for 89ca858
src/librustdoc/html/static/playpen.js
@@ -14,6 +14,7 @@
14
(function() {
15
if (window.playgroundUrl) {
16
$('pre.rust').hover(function() {
17
+ if (!$(this).attr('id')) { return; }
18
var id = '#' + $(this).attr('id').replace('rendered', 'raw');
19
var a = $('<a>').text('⇱').attr('class', 'test-arrow');
20
var code = $(id).text();
0 commit comments