Skip to content
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

Fix comments swapped by mistake, and other nits #4055

Merged
merged 2 commits into from May 7, 2024

Conversation

Leedehai
Copy link
Contributor

@Leedehai Leedehai commented May 1, 2024

This PR fix comments on the main and cross axis component that were swapped by mistake.

In addition, this PR has these technically-unnecessary-but-subjectively-useful edits:

  1. Renamed Gen to GenericSize to better express its meaning.
  2. Renamed variable gen to generic_size to align with the type name and also to avoid the forthcoming keyword gen in the Rust 2024 edition.
  3. Renamed StackLayouter.used to StackLayouter.size to better express its meaning - we want to emphasize the field stores a "size", instead of emphasizing "used", which sounds like a hash map for deduplication. (reverted according to a review comment)

@Leedehai
Copy link
Contributor Author

Leedehai commented May 2, 2024

PR #4056 can hopefully fix the Check fuzzers check.

@laurmaedje
Copy link
Member

Thanks!

Merged via the queue into typst:main with commit 1825086 May 7, 2024
6 checks passed
@Leedehai Leedehai deleted the stack-gen branch May 7, 2024 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants