Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kyouko-taiga committed Oct 10, 2023
1 parent acac6d7 commit b7ce3a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Core/Diagnostic.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public struct Diagnostic: Hashable {
Diagnostic(level: .error, message: message, site: site, notes: notes)
}

/// Returns a warning with the given `message` highlighting `range`..
/// Returns a warning with the given `message` highlighting `range`.
///
/// - Precondition: elements of `notes` have `self.level == .note`
public static func warning(
Expand Down

0 comments on commit b7ce3a5

Please sign in to comment.