Skip to content

Commit 5c4ae43

Browse files
committed
Merge pull request nojb#5 from ALPHA-60/fix-doc-typo
Fix typos in code examples
2 parents 556e419 + c26d5b8 commit 5c4ae43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Lwt API.
108108

109109
### Creating and Authenticating a Session
110110

111-
# let s = create_session ~host:"imap.gmail.com" ~username:"myuser" ~password:"mysecret";;
111+
# let s = create_session ~host:"imap.gmail.com" ~username:"myuser" ~password:"mysecret" ();;
112112
val s : session = <abstr>
113113

114114
Note that you never need to connect or authenticate explicitly. It is all
@@ -204,7 +204,7 @@ allow to modify the flags of a message.
204204

205205
To see a debug trace of everything that gets sent and received, set the Lwt log level to `Debug`.
206206

207-
# Lwt_log.Section.set_level Lwt_log.Sectin.main Lwt_log.Debug;;
207+
# Lwt_log.Section.set_level Lwt_log.Section.main Lwt_log.Debug;;
208208

209209
**NOTE**: This will print your username and password on the terminal.
210210

0 commit comments

Comments
 (0)