From: Adam Niederer Date: Thu, 22 Mar 2018 02:13:05 +0000 (-0400) Subject: Add docstrings to CleanOptions X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~2^2~21^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cde85c10cdbe9ebd7f85d77093c92aac110ee979;p=cargo.git Add docstrings to CleanOptions --- diff --git a/src/cargo/ops/cargo_clean.rs b/src/cargo/ops/cargo_clean.rs index f56e1d580..30f299faf 100644 --- a/src/cargo/ops/cargo_clean.rs +++ b/src/cargo/ops/cargo_clean.rs @@ -10,8 +10,11 @@ use ops::{self, BuildConfig, Context, Kind, Unit}; pub struct CleanOptions<'a> { pub config: &'a Config, + /// A list of packages to clean. If empty, everything is cleaned. pub spec: Vec, + /// The target arch triple to clean, or None for the host arch pub target: Option, + /// Whether to clean the release directory pub release: bool, }