Skip to content

Commit 1780a9d

Browse files
authored
Update 1835.md (#268)
The code didn't compile. Returning now a Task<string> instead of a Task
1 parent 589e426 commit 1780a9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_rules/1835.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ severity: 1
66
---
77
Consider the following asynchronous method:
88

9-
private async Task GetDataAsync()
9+
private async Task<string> GetDataAsync()
1010
{
1111
var result = await MyWebService.GetDataAsync();
1212
return result.ToString();

0 commit comments

Comments
 (0)