Spell check of Flutter docs (#45200)

No code changes, just comments: I spell-checked all the comments in the repo.
This commit is contained in:
Greg Spencer
2019-11-22 08:43:55 -08:00
committed by GitHub
parent fcb40a05bb
commit a60bf8e23a
103 changed files with 188 additions and 188 deletions

View File

@@ -25,7 +25,7 @@ bool _isTaskRegistered = false;
/// The task does not run immediately but waits for the request via the
/// VM service protocol to run it.
///
/// It is ok for a [task] to perform many things. However, only one task can be
/// It is OK for a [task] to perform many things. However, only one task can be
/// registered per Dart VM.
Future<TaskResult> task(TaskFunction task) {
if (_isTaskRegistered)
@@ -143,7 +143,7 @@ class _TaskRunner {
});
}
/// Disables the keep-alive port, allowing the VM to exit.
/// Disables the keepalive port, allowing the VM to exit.
void _closeKeepAlivePort() {
_startTaskTimeout?.cancel();
_keepAlivePort?.close();

View File

@@ -602,7 +602,7 @@ int parseServicePort(String line, {
return matches.isEmpty ? null : int.parse(matches[0].group(2));
}
/// Tries to extract a Uri from the string.
/// Tries to extract a URL from the string.
///
/// The `prefix`, if specified, is a regular expression pattern and must not contain groups.
/// `prefix` defaults to the RegExp: `An Observatory debugger .* is available at: `.