Skip to content

Commit

Permalink
Fix nix
Browse files Browse the repository at this point in the history
	If you don't use : before the name of the attribute, it will be evaluated as a string
	Ref: #1882 (comment)
  • Loading branch information
chengr4 committed Apr 2, 2024
1 parent 38b1b64 commit 79f7a1a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions site/frontend/src/pages/compare/tabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ const activeTab: Ref<Tab> = ref(props.initialTab);
<template>
<div class="wrapper">
<TabComponent
:tooltip="'Compilation time benchmarks: measure how long does it take to compile various crates using the compared rustc.'"
:title="'Compile-time'"
tooltip="Compilation time benchmarks: measure how long does it take to compile various crates using the compared rustc."
title="Compile-time"
:selected="activeTab === Tab.CompileTime"
@click="changeTab(Tab.CompileTime)"
>
Expand All @@ -109,8 +109,8 @@ const activeTab: Ref<Tab> = ref(props.initialTab);
</template>
</TabComponent>
<TabComponent
:tooltip="'Runtime benchmarks: measure how long does it take to execute (i.e. how fast are) programs compiled by the compared rustc.'"
:title="'Runtime'"
tooltip="Runtime benchmarks: measure how long does it take to execute (i.e. how fast are) programs compiled by the compared rustc."
title="Runtime"
:selected="activeTab === Tab.Runtime"
@click="changeTab(Tab.Runtime)"
>
Expand All @@ -119,8 +119,8 @@ const activeTab: Ref<Tab> = ref(props.initialTab);
</template>
</TabComponent>
<TabComponent
:tooltip="'Bootstrap duration: measures how long does it take to compile rustc by itself.'"
:title="'Bootstrap'"
tooltip="Bootstrap duration: measures how long does it take to compile rustc by itself."
title="Bootstrap"
:selected="activeTab === Tab.Bootstrap"
@click="changeTab(Tab.Bootstrap)"
>
Expand All @@ -140,8 +140,8 @@ const activeTab: Ref<Tab> = ref(props.initialTab);
</template>
</TabComponent>
<TabComponent
:tooltip="'Artifact size: sizes of individual components of the two artifacts.'"
:title="'Artifact size'"
tooltip="Artifact size: sizes of individual components of the two artifacts."
title="Artifact size"
v-if="sizesAvailable"
:selected="activeTab === Tab.ArtifactSize"
@click="changeTab(Tab.ArtifactSize)"
Expand Down

0 comments on commit 79f7a1a

Please sign in to comment.