mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-28 21:04:47 +00:00
Some fixup for the documentation
This commit is contained in:
parent
304b0e7b0e
commit
2c0fc29c5c
3 changed files with 6 additions and 5 deletions
|
@ -17,9 +17,9 @@ use triomphe::{Arc, HeaderWithLength, ThinArc};
|
|||
|
||||
#[derive(Clone)]
|
||||
#[repr(C)]
|
||||
/// SharedArray holds a reference-counted read-only copy of [T].
|
||||
/// SharedArray holds a reference-counted read-only copy of `[T]`.
|
||||
pub struct SharedArray<T: 'static> {
|
||||
/// Invariant: The usize header is the `len` of the vector, the contained buffer is [T]
|
||||
/// Invariant: The usize header is the `len` of the vector, the contained buffer is `[T]`
|
||||
inner: ThinArc<usize, MaybeUninit<T>>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue