Skip to content

Commit 64200d4

Browse files
jyn514Joshua Nelson
authored and
Joshua Nelson
committed
Improve error message when feature flags aren't available
1 parent f3a3740 commit 64200d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/crate/features.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
</li>
4141
{%- else -%}
4242
<li class="pure-menu-item">
43-
<span class="documented-info">Feature flags data are not available for this release.</span>
43+
<span class="documented-info">Feature flags are not available for this release because it was built before features were collected by docs.rs.</span>
4444
</li>
4545
{%- endif -%}
4646
</ul>
@@ -68,7 +68,7 @@ <h3 id="{{ feature.name }}">{{ feature.name }}</h3>
6868
{%- elif features is iterable -%}
6969
<p data-id="empty-features">This release does not have any feature flags.</p>
7070
{%- else -%}
71-
<p data-id="null-features">Feature flags data are not available for this release.</p>
71+
<p data-id="null-features">Feature flags are not available for this release because it was built before features were collected by docs.rs.</p>
7272
{%- endif -%}
7373
</div>
7474
</div>

0 commit comments

Comments
 (0)