Skip to content

Commit

Permalink
Make ructe happy
Browse files Browse the repository at this point in the history
  • Loading branch information
elegaanz committed Mar 9, 2021
1 parent 130d162 commit 5bd5d50
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wartid-server/templates/menu.rs.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@use crate::model::PageContext;
@use crate::BUILD_INFO_GIT;

@(ctx: &PageContext)

Expand Down Expand Up @@ -30,7 +29,7 @@

<p style="padding-top: 0.5em; opacity: 0.6; font-size: 0.8em;">
@(crate::BUILD_INFO)
@if let Some(rev) = BUILD_INFO_GIT {
@if let Some(rev) = (crate::BUILD_INFO_GIT) {
<br>
git revision: @rev
}
Expand Down

0 comments on commit 5bd5d50

Please sign in to comment.