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.
1 parent 68740b4 commit 1eb37bfCopy full SHA for 1eb37bf
src/librustdoc/html/static/playpen.js
@@ -15,7 +15,7 @@
15
if (window.playgroundUrl) {
16
$('pre.rust').hover(function() {
17
var a = $('<a>').text('⇱').attr('class', 'test-arrow');
18
- var code = $(this).siblings(".rusttest").text();
+ var code = $(this).prev(".rusttest").text();
19
a.attr('href', window.playgroundUrl + '?code=' +
20
encodeURIComponent(code));
21
a.attr('target', '_blank');
0 commit comments