Skip to content

Commit

Permalink
Merge pull request #9106 from Turbo87/cargo-install
Browse files Browse the repository at this point in the history
CrateSidebar: Fix @hasLib assignment
  • Loading branch information
Turbo87 authored Jul 17, 2024
2 parents 09534fb + 820af3b commit 6b90fbb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/crate-sidebar.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
@crate={{@crate.name}}
@version={{@version.num}}
@exactVersion={{@requestedVersion}}
@hasLib={{not (@version.has_lib false)}}
@hasLib={{not (eq @version.has_lib false)}}
@binNames={{@version.bin_names}}
/>
</div>
Expand Down
4 changes: 4 additions & 0 deletions app/components/crate-sidebar/install-instructions.module.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
.copy-help {
font-size: 12px;
overflow-wrap: break-word;

&:last-child {
margin-bottom: 0;
}
}

.copy-button,
Expand Down

0 comments on commit 6b90fbb

Please sign in to comment.