Skip to content

Update crates documentation with info. on #[safety_constraint(...)] attribute for structs#3405

Merged
tautschnig merged 8 commits intomodel-checking:mainfrom
adpaco-aws:docs-safety-const-attr
Aug 2, 2024
Merged

Update crates documentation with info. on #[safety_constraint(...)] attribute for structs#3405
tautschnig merged 8 commits intomodel-checking:mainfrom
adpaco-aws:docs-safety-const-attr

Conversation

@adpaco-aws
Copy link
Contributor

This PR updates the crates documentation we already had for the #[safety_constraint(...)] attribute to account for the changes in #3270.

The proposal includes notes/guidelines on where to use the attribute (i.e., the struct or its fields) depending on the type safety condition to be specified. Also, it removes the rs annotations on the code blocks that appear in the documentation because they don't seem to have the intended effect (the blocks are not being highlighted at all).

The current version of this documentation can be found here and here.

Related #3095

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

@adpaco-aws adpaco-aws requested a review from a team as a code owner August 1, 2024 18:25
@github-actions github-actions bot added the Z-EndToEndBenchCI Tag a PR to run benchmark CI label Aug 1, 2024
Copy link
Contributor

@zhassan-aws zhassan-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Only a few nits.

adpaco-aws and others added 4 commits August 1, 2024 19:25
Co-authored-by: Zyad Hassan <88045115+zhassan-aws@users.noreply.github.com>
Co-authored-by: Zyad Hassan <88045115+zhassan-aws@users.noreply.github.com>
@feliperodri feliperodri requested a review from zhassan-aws August 2, 2024 15:04
@adpaco-aws adpaco-aws added this pull request to the merge queue Aug 2, 2024
@tautschnig tautschnig removed this pull request from the merge queue due to the queue being cleared Aug 2, 2024
@tautschnig tautschnig enabled auto-merge (squash) August 2, 2024 19:59
@tautschnig tautschnig merged commit b337081 into model-checking:main Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Z-EndToEndBenchCI Tag a PR to run benchmark CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants