doc: that did not render well, so make it fit in one line
This commit is contained in:
parent
d7185dcff1
commit
b55f0497db
@ -120,11 +120,10 @@ pub trait Unsize<T> {
|
|||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// The `PointList` `struct` cannot implement `Copy`, because `Vec<T>` is not `Copy`. If we
|
/// The `PointList` `struct` cannot implement `Copy`, because `Vec<T>` is not `Copy`. If we
|
||||||
/// attempt to derive a `Copy` implementation, we'll get an error.
|
/// attempt to derive a `Copy` implementation, we'll get an error:
|
||||||
///
|
///
|
||||||
/// ```text
|
/// ```text
|
||||||
/// error: the trait `Copy` may not be implemented for this type; field `points` does not implement
|
/// the trait `Copy` may not be implemented for this type; field `points` does not implement `Copy`
|
||||||
/// `Copy`
|
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// ## How can I implement `Copy`?
|
/// ## How can I implement `Copy`?
|
||||||
|
Loading…
Reference in New Issue
Block a user