Fix Grammar and Typo in Comments (#5284)

This commit is contained in:
Gregor Fischer
2025-11-20 14:26:50 +01:00
committed by GitHub
parent 29b65e12c1
commit 72dd970969
3 changed files with 4 additions and 4 deletions

View File

@@ -132,7 +132,7 @@ Future _apiRequest(String method, String path, dynamic data,
/// data: any request class that will be converted to json automatically
/// ok: is called when request succeeds
/// fail: is called when request fails
/// eventually: is always called until the nearby functions returns
/// eventually: is always called after the nearby function returns
Future apiPost(String path, dynamic data,
{Map<String, String>? header,
Function(Map<String, dynamic>)? ok,
@@ -146,7 +146,7 @@ Future _apiRequest(String method, String path, dynamic data,
///
/// ok: is called when request succeeds
/// fail: is called when request fails
/// eventually: is always called until the nearby functions returns
/// eventually: is always called after the nearby function returns
Future apiGet(String path,
{Map<String, String>? header,
Function(Map<String, dynamic>)? ok,

View File

@@ -28,7 +28,7 @@ type (
syntax *SyntaxExpr
}
// ParserOption defines an function with argument Parser
// ParserOption defines a function with argument Parser
ParserOption func(p *Parser)
)