mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 06:20:13 +00:00
[core] Better variable name in dartdoc
Fixes #50180 Change-Id: I47157b50b45af7b54eca1013109f90ff1bab6b35 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/263621 Reviewed-by: Lasse Nielsen <lrn@google.com> Commit-Queue: Lasse Nielsen <lrn@google.com>
This commit is contained in:
parent
bc46593d5d
commit
be5fe7bfe8
1 changed files with 2 additions and 2 deletions
|
@ -287,8 +287,8 @@ abstract class Set<E> extends EfficientLengthIterable<E> {
|
|||
/// ```dart
|
||||
/// final characters1 = <String>{'A', 'B', 'C'};
|
||||
/// final characters2 = <String>{'A', 'E', 'F'};
|
||||
/// final unionSet = characters1.intersection(characters2);
|
||||
/// print(unionSet); // {A}
|
||||
/// final intersectionSet = characters1.intersection(characters2);
|
||||
/// print(intersectionSet); // {A}
|
||||
/// ```
|
||||
Set<E> intersection(Set<Object?> other);
|
||||
|
||||
|
|
Loading…
Reference in a new issue