Skip to content

Commit b87723f

Browse files
committed
Fix crash when viewing source
Column 5 was the files, not the default target :( We really need a test suite.
1 parent da9896a commit b87723f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/web/source.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ impl FileList {
174174
description: rows.get(0).get(2),
175175
target_name: rows.get(0).get(3),
176176
rustdoc_status: rows.get(0).get(4),
177-
default_target: rows.get(0).get(5),
177+
default_target: rows.get(0).get(6),
178178
},
179179
files: file_list,
180180
})

0 commit comments

Comments
 (0)