We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9d2e9b9 + 89ca858 commit 2127e0dCopy full SHA for 2127e0d
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