mirror of
https://github.com/serde-rs/serde.git
synced 2025-10-03 07:45:38 +00:00
Fix warning about unresolved [u8] and [T] links
This commit is contained in:
parent
a65950acca
commit
a2a9041549
@ -57,7 +57,7 @@
|
|||||||
//! - f32, f64
|
//! - f32, f64
|
||||||
//! - char
|
//! - char
|
||||||
//! - **Compound types**:
|
//! - **Compound types**:
|
||||||
//! - [T; 0] through [T; 32]
|
//! - \[T; 0\] through \[T; 32\]
|
||||||
//! - tuples up to size 16
|
//! - tuples up to size 16
|
||||||
//! - **Common standard library types**:
|
//! - **Common standard library types**:
|
||||||
//! - String
|
//! - String
|
||||||
@ -66,7 +66,7 @@
|
|||||||
//! - PhantomData\<T\>
|
//! - PhantomData\<T\>
|
||||||
//! - **Wrapper types**:
|
//! - **Wrapper types**:
|
||||||
//! - Box\<T\>
|
//! - Box\<T\>
|
||||||
//! - Box\<[T]\>
|
//! - Box\<\[T\]\>
|
||||||
//! - Box\<str\>
|
//! - Box\<str\>
|
||||||
//! - Rc\<T\>
|
//! - Rc\<T\>
|
||||||
//! - Arc\<T\>
|
//! - Arc\<T\>
|
||||||
@ -86,7 +86,7 @@
|
|||||||
//! - Vec\<T\>
|
//! - Vec\<T\>
|
||||||
//! - **Zero-copy types**:
|
//! - **Zero-copy types**:
|
||||||
//! - &str
|
//! - &str
|
||||||
//! - &[u8]
|
//! - &\[u8\]
|
||||||
//! - **FFI types**:
|
//! - **FFI types**:
|
||||||
//! - CString
|
//! - CString
|
||||||
//! - Box\<CStr\>
|
//! - Box\<CStr\>
|
||||||
@ -808,7 +808,7 @@ where
|
|||||||
/// - UTF-8 bytes with a length and no null terminator.
|
/// - UTF-8 bytes with a length and no null terminator.
|
||||||
/// - When serializing, all strings are handled equally. When deserializing,
|
/// - When serializing, all strings are handled equally. When deserializing,
|
||||||
/// there are three flavors of strings: transient, owned, and borrowed.
|
/// there are three flavors of strings: transient, owned, and borrowed.
|
||||||
/// - **byte array** - [u8]
|
/// - **byte array** - \[u8\]
|
||||||
/// - Similar to strings, during deserialization byte arrays can be transient,
|
/// - Similar to strings, during deserialization byte arrays can be transient,
|
||||||
/// owned, or borrowed.
|
/// owned, or borrowed.
|
||||||
/// - **option**
|
/// - **option**
|
||||||
|
@ -55,8 +55,8 @@
|
|||||||
//! - str
|
//! - str
|
||||||
//! - &T and &mut T
|
//! - &T and &mut T
|
||||||
//! - **Compound types**:
|
//! - **Compound types**:
|
||||||
//! - [T]
|
//! - \[T\]
|
||||||
//! - [T; 0] through [T; 32]
|
//! - \[T; 0\] through \[T; 32\]
|
||||||
//! - tuples up to size 16
|
//! - tuples up to size 16
|
||||||
//! - **Common standard library types**:
|
//! - **Common standard library types**:
|
||||||
//! - String
|
//! - String
|
||||||
@ -271,7 +271,7 @@ pub trait Serialize {
|
|||||||
/// - UTF-8 bytes with a length and no null terminator.
|
/// - UTF-8 bytes with a length and no null terminator.
|
||||||
/// - When serializing, all strings are handled equally. When deserializing,
|
/// - When serializing, all strings are handled equally. When deserializing,
|
||||||
/// there are three flavors of strings: transient, owned, and borrowed.
|
/// there are three flavors of strings: transient, owned, and borrowed.
|
||||||
/// - **byte array** - [u8]
|
/// - **byte array** - \[u8\]
|
||||||
/// - Similar to strings, during deserialization byte arrays can be transient,
|
/// - Similar to strings, during deserialization byte arrays can be transient,
|
||||||
/// owned, or borrowed.
|
/// owned, or borrowed.
|
||||||
/// - **option**
|
/// - **option**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user