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

Some cleanup and more accurate tracking of safety invariants #603

Merged
merged 3 commits into from
Feb 20, 2024

Commits on Feb 17, 2024

  1. Remove some unused traits.

    lilizoey committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    af0f02b View commit details
    Browse the repository at this point in the history
  2. Remove one instance of library UB from Array

    Add the ability to add unsafe + safety docs to arbitrary methods through codegen
    More accurately track the safety invariant of `Array`:
    - Make all methods of `InnerArray` that return `VariantArray` unsafe
    - Make `Array::as_inner()` unsafe
    - Add `Array::as_inner_ref()` to allow safe usage of immutable methods
    - Reword some safety docs
    lilizoey committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    e6f6d95 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. Cleanup

    lilizoey committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    de439bc View commit details
    Browse the repository at this point in the history