Skip to content

Fix indentation of static path restriction text #1961

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

traviscross
Copy link
Contributor

In the const eval chapter, we have a list of kinds of expressions that are allowed. Paths to statics are one kind that is allowed, but have certain restrictions we describe in bullet points. We then have text that clarifies when these bullet points are checked.

This text was outdented beyond the relevant item, which broke up the outer bullet point list and created (momentary) ambiguity about the scope of the rules the language might be affecting.

cc @ehuss

@rustbot rustbot added the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Aug 15, 2025
In the const eval chapter, we have a list of kinds of expressions that
are allowed.  Paths to statics are one kind that is allowed, but have
certain restrictions we describe in bullet points.  We then have text
that clarifies when these bullet points are checked.

This text was outdented beyond the relevant item, which broke up the
outer bullet point list and created (momentary) ambiguity about the
scope of the rules the language might be affecting.  Let's fix that.
@traviscross traviscross force-pushed the TC/fix-indentation-of-static-path-restriction branch from 1e45abf to 378fa89 Compare August 15, 2025 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: The marked PR is awaiting review from a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants