Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrusNajmabadi committed May 8, 2024
1 parent 95253e7 commit a20eb2e
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,9 @@ async Task<Solution> CleanSolutionAsync(Solution dirtySolution, ImmutableArray<D
}

async static ValueTask<(DocumentId documentId, (SyntaxNode? node, SourceText? text))?> ProcessFixedDocumentAsync(
Document document,
Document? newDocument,
CancellationToken cancellationToken)
Document document, Document? newDocument, CancellationToken cancellationToken)
{
// If we didn't get a distinct new document, then we don't have anything to do.
if (newDocument == null || newDocument == document)
return null;

Expand Down

0 comments on commit a20eb2e

Please sign in to comment.