From 4343237ae4808d6c2ec8cb57a56a3e8559c9e064 Mon Sep 17 00:00:00 2001 From: per1234 Date: Sun, 17 Jul 2022 11:26:49 -0700 Subject: [PATCH] Replace irrelevant function name in `File::println` docs A copy/paste error resulted in one of the items under the "Syntax" section of the documentation for `File::println` using the function name `print` instead of the intended `println`. --- docs/api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api.md b/docs/api.md index a154ef3..1b4eabc 100644 --- a/docs/api.md +++ b/docs/api.md @@ -451,7 +451,7 @@ Print data, followed by a carriage return and newline, to the File, which must h ``` file.println() file.println(data) -file.print(data, BASE) +file.println(data, BASE) ``` #### Parameters @@ -887,4 +887,4 @@ void printDirectory(File dir, int numTabs) { * [read()](#read) * [write()](#write) * [isDirectory()](#isdirectory) -* [openNextFile()](#opennextfile) \ No newline at end of file +* [openNextFile()](#opennextfile)