Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-Bertholet committed Oct 12, 2022
1 parent c6a5007 commit 1ef89b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text/3319-aligned-trait.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Add an `Aligned` marker trait to `core::marker`, and the prelude, as a supertrai

# Motivation

Data structures and containerss may be able to store unsized types only if their alignment can be known at compile-time. Alternatively, compile-time known alignment might enable more efficient algorithms or additional APIs. A built-in `Aligned` trait allows Rust code to implement APIs that that are fully usable with all aligned types. (For an example, see the [unsized-vec crate](https://crates.io/crates/unsized-vec)).
Data structures and containers may be able to store unsized types only if their alignment can be known at compile-time. Alternatively, compile-time known alignment might enable more efficient algorithms or additional APIs. A built-in `Aligned` trait allows Rust code to implement APIs that that are fully usable with all aligned types. (For an example, see the [unsized-vec crate](https://crates.io/crates/unsized-vec)).

In addition, this RFC allows implementing certain object-safe traits for slices, in a more complete fashion than was possible before.

Expand Down

0 comments on commit 1ef89b9

Please sign in to comment.