We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
max
1 parent ec95397 commit 217c343Copy full SHA for 217c343
lib/Sema/CSDiagnostics.h
@@ -1947,9 +1947,9 @@ class UnableToInferProtocolLiteralType final : public FailureDiagnostic {
1947
/// }
1948
/// ```
1949
///
1950
-/// Here `min` refers to a global function `min<T>(_: T, _: T)` in `Swift`
+/// Here `max` refers to a global function `max<T>(_: T, _: T)` in `Swift`
1951
/// module and can only be accessed by adding `Swift.` to it, because `Sequence`
1952
-/// has a member named `min` which accepts a single argument.
+/// has a member named `max` which accepts a single argument.
1953
class MissingQuialifierInMemberRefFailure final : public FailureDiagnostic {
1954
public:
1955
MissingQuialifierInMemberRefFailure(ConstraintSystem &cs,
0 commit comments