Spellcheck & grammar (#10375)

## Summary

I used `codespell` and `gramma` to identify mispellings and grammar
errors throughout the codebase and fixed them. I tried not to make any
controversial changes, but feel free to revert as you see fit.
This commit is contained in:
Auguste Lalande 2024-03-12 22:34:23 -04:00 committed by GitHub
parent c56fb6e15a
commit 3ed707f245
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
67 changed files with 135 additions and 170 deletions

View file

@ -16,7 +16,7 @@ use std::ops::Range;
/// before inserting any parts for the key `b`.
/// * The parts per key are inserted in the following order: *leading*, *dangling*, and then the *trailing* parts.
///
/// Parts inserted in the above mentioned order are stored in a `Vec` shared by all keys to reduce the number
/// Parts inserted in the above-mentioned order are stored in a `Vec` shared by all keys to reduce the number
/// of allocations and increased cache locality. The implementation falls back to storing the *leading*,
/// *dangling*, and *trailing* parts of a key in dedicated `Vec`s if the parts aren't inserted in the before mentioned order.
/// Out of order insertions come with a slight performance penalty due to: