Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions crates/rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,12 +275,13 @@ pub struct Opts {
#[cfg_attr(feature = "serde", serde(flatten))]
pub async_: AsyncFilterSet,

/// Find all structurally equal types and only generate one type definition for
/// each equivalence class. Other types in the same class will be type aliases to the
/// generated type. This avoids clone when converting between types that are
/// structurally equal, which is useful when import and export the same interface.
/// Find all structurally equal types and only generate one type definition
/// for each equivalence class.
///
/// Types containing resource, future, or stream are never considered equal.
/// Other types in the same class will be type aliases to the generated
/// type. This avoids clone when converting between types that are
/// structurally equal, which is useful when import and export the same
/// interface.
#[cfg_attr(
feature = "clap",
arg(long, require_equals = true, value_name = "true|false")
Expand Down
Loading