Skip to content

Commit 42ccd79

Browse files
maBarabasCommit Queue
authored and
Commit Queue
committed
Fix typo
Closes #55065 GitOrigin-RevId: ac11d63 Change-Id: I7f8d816491707c86743adca04ef410cd9b60c8cf Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/355200 Reviewed-by: Kevin Moore <[email protected]> Commit-Queue: Kevin Moore <[email protected]>
1 parent 1527033 commit 42ccd79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/lib/io/file.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ abstract interface class File implements FileSystemEntity {
615615
/// This method does not transform newline characters (`"\n"`) to the
616616
/// platform conventional line ending (e.g. `"\r\n"` on Windows). Use
617617
/// [Platform.lineTerminator] to separate lines in [contents] if platform
618-
/// contentional line endings are needed.
618+
/// conventional line endings are needed.
619619
Future<File> writeAsString(String contents,
620620
{FileMode mode = FileMode.write,
621621
Encoding encoding = utf8,
@@ -637,7 +637,7 @@ abstract interface class File implements FileSystemEntity {
637637
/// This method does not transform newline characters (`"\n"`) to the
638638
/// platform conventional line ending (e.g. `"\r\n"` on Windows). Use
639639
/// [Platform.lineTerminator] to separate lines in [contents] if platform
640-
/// contentional line endings are needed.
640+
/// conventional line endings are needed.
641641
///
642642
/// Throws a [FileSystemException] if the operation fails.
643643
void writeAsStringSync(String contents,

0 commit comments

Comments
 (0)