Skip to content

Commit

Permalink
Remove the phrase "third-party" (#2512)
Browse files Browse the repository at this point in the history
"Third-party" is a Googleism that doesn't make much sense otherwise.
Most references to crates just say "crate", implying that they are
open-source packages available on https://crates.io, so this updates a
few additional locations to do the same.
  • Loading branch information
djmitche authored Dec 13, 2024
1 parent fbeef48 commit de8ae4f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/bare-metal/alloc.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ To use `alloc` you must implement a

<details>

- `buddy_system_allocator` is a third-party crate implementing a basic buddy
system allocator. Other crates are available, or you can write your own or
hook into your existing allocator.
- `buddy_system_allocator` is a crate implementing a basic buddy system
allocator. Other crates are available, or you can write your own or hook into
your existing allocator.
- The const parameter of `LockedHeap` is the max order of the allocator; i.e. in
this case it can allocate regions of up to 2**32 bytes.
- If any crate in your dependency tree depends on `alloc` then you must have
Expand Down
4 changes: 2 additions & 2 deletions src/bare-metal/useful-crates/buddy_system_allocator.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# `buddy_system_allocator`

[`buddy_system_allocator`][1] is a third-party crate implementing a basic buddy
system allocator. It can be used both for [`LockedHeap`][2] implementing
[`buddy_system_allocator`][1] is a crate implementing a basic buddy system
allocator. It can be used both for [`LockedHeap`][2] implementing
[`GlobalAlloc`][3] so you can use the standard `alloc` crate (as we saw
[before][4]), or for allocating other address space. For example, we might want
to allocate MMIO space for PCI BARs:
Expand Down
4 changes: 2 additions & 2 deletions src/memory-management/approaches.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Rust's ownership and borrowing model can, in many cases, get the performance of
C, with alloc and free operations precisely where they are required -- zero
cost. It also provides tools similar to C++'s smart pointers. When required,
other options such as reference counting are available, and there are even
third-party crates available to support runtime garbage collection (not covered
in this class).
crates available to support runtime garbage collection (not covered in this
class).

</details>

0 comments on commit de8ae4f

Please sign in to comment.