Skip to content

Commit ca98caf

Browse files
authored
Adjust docs of --merge-structurally-equal-types (#1531)
Follow-up to #1468
1 parent fd57889 commit ca98caf

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

crates/rust/src/lib.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -275,12 +275,13 @@ pub struct Opts {
275275
#[cfg_attr(feature = "serde", serde(flatten))]
276276
pub async_: AsyncFilterSet,
277277

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

0 commit comments

Comments
 (0)