From 766654074494b45230a81a8e09b655e68f9d2719 Mon Sep 17 00:00:00 2001 From: Reinier Maas Date: Thu, 23 Jan 2025 13:15:11 +0100 Subject: [PATCH] Update README.md Fix a small typo that is also published to `crates.io`. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 59f1637..31e488c 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Fork of Arc. This has the following advantages over std::sync::Arc: * `triomphe::UniqueArc` allows one to construct a temporarily-mutable `Arc` which can be converted to a regular `triomphe::Arc` later * `triomphe::OffsetArc` can be used transparently from C++ code and is compatible with (and can be converted to/from) `triomphe::Arc` * `triomphe::ArcBorrow` is functionally similar to `&triomphe::Arc`, however in memory it's simply `&T`. This makes it more flexible for FFI; the source of the borrow need not be an `Arc` pinned on the stack (and can instead be a pointer from C++, or an `OffsetArc`). Additionally, this helps avoid pointer-chasing. -* `triomphe::Arc` has can be constructed for dynamically-sized types via `from_header_and_iter` +* `triomphe::Arc` can be constructed for dynamically-sized types via `from_header_and_iter` * `triomphe::ThinArc` provides thin-pointer `Arc`s to dynamically sized types * `triomphe::ArcUnion` is union of two `triomphe:Arc`s which fits inside one word of memory