summary refs log tree commit diff
path: root/src/librustdoc/html/static
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2024-01-05 12:40:11 -0700
committerMichael Howell <michael@notriddle.com>2024-01-05 13:18:00 -0700
commit004bfc5eb2aa6789741055d3e6c479e34eb960cb (patch)
tree970f2a08da9088eb348ecff9c8c9dd18645037b8 /src/librustdoc/html/static
parenta68ac32de5003e5b03b4e7e7b7de0aebb974901a (diff)
downloadrust-004bfc5eb2aa6789741055d3e6c479e34eb960cb.tar.gz
rust-004bfc5eb2aa6789741055d3e6c479e34eb960cb.zip
Add notes about the serialization format
Diffstat (limited to 'src/librustdoc/html/static')
-rw-r--r--src/librustdoc/html/static/js/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/js/search.js b/src/librustdoc/html/static/js/search.js
index 6fb92d8fbb1..e0708485fc0 100644
--- a/src/librustdoc/html/static/js/search.js
+++ b/src/librustdoc/html/static/js/search.js
@@ -2858,7 +2858,7 @@ ${item.displayPath}<span class="${type}">${name}</span>\
             inputs, output, where_clause,
         };
         itemFunctionDecoder.backrefQueue.unshift(ret);
-        if (itemFunctionDecoder.backrefQueue.length >= 16) {
+        if (itemFunctionDecoder.backrefQueue.length > 16) {
             itemFunctionDecoder.backrefQueue.pop();
         }
         return ret;