radicle: Fix doctests
This commit is contained in:
parent
34939253f7
commit
4e429e4408
|
|
@ -26,9 +26,9 @@ pub enum ReviewEdit {
|
||||||
/// The latest version of editing a review.
|
/// The latest version of editing a review.
|
||||||
///
|
///
|
||||||
/// This allows editing the `summary`, `verdict`, `labels` of [`Patch`], and
|
/// This allows editing the `summary`, `verdict`, `labels` of [`Patch`], and
|
||||||
/// introduces `embeds` to the review [`summary`].
|
/// introduces `embeds` to the review summary.
|
||||||
///
|
///
|
||||||
/// The `summary` of a [`Review`] is now an edit-history.
|
/// The `summary` of a [`super::Review`] is now an edit-history.
|
||||||
#[serde(rename = "review.edit.v2")]
|
#[serde(rename = "review.edit.v2")]
|
||||||
V2(ReviewEditV2),
|
V2(ReviewEditV2),
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ use crate::cob::patch::{
|
||||||
/// The encoding for a `patch::Review` that can be deserialized and migrated.
|
/// The encoding for a `patch::Review` that can be deserialized and migrated.
|
||||||
///
|
///
|
||||||
/// To maintain backwards-compatibility, [`Review`] must implement:
|
/// To maintain backwards-compatibility, [`Review`] must implement:
|
||||||
/// ```rust, no_run
|
/// ```rust, ignore
|
||||||
/// From<Review> for patch::Review
|
/// From<Review> for patch::Review
|
||||||
/// ```
|
/// ```
|
||||||
#[derive(Deserialize)]
|
#[derive(Deserialize)]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue