Skip to content

Commit 6b90fbb

Browse files
authored
Merge pull request #9106 from Turbo87/cargo-install
CrateSidebar: Fix @hasLib assignment
2 parents 09534fb + 820af3b commit 6b90fbb

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

app/components/crate-sidebar.hbs

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
@crate={{@crate.name}}
5353
@version={{@version.num}}
5454
@exactVersion={{@requestedVersion}}
55-
@hasLib={{not (@version.has_lib false)}}
55+
@hasLib={{not (eq @version.has_lib false)}}
5656
@binNames={{@version.bin_names}}
5757
/>
5858
</div>

app/components/crate-sidebar/install-instructions.module.css

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
.copy-help {
22
font-size: 12px;
33
overflow-wrap: break-word;
4+
5+
&:last-child {
6+
margin-bottom: 0;
7+
}
48
}
59

610
.copy-button,

0 commit comments

Comments
 (0)