Skip to content

Commit b182321

Browse files
committed
fix README
1 parent 8c443ec commit b182321

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
@@ -134,7 +134,7 @@ The only interesting argument is labeled `key` and specifies which messages one
134134
is looking for. For example to find all messages from an email
135135
`"[email protected]"` in the **INBOX** folder, one can simply do:
136136

137-
# let uids = search s ~folder:"INBOX" ~key:(From "[email protected]")
137+
# lwt uids = search s ~folder:"INBOX" ~key:(From "[email protected]")
138138
val uids : UidSet.t = <abstr>
139139

140140
### Fetching message data
@@ -143,7 +143,7 @@ Once one has the UIDs of the messages one intends to manipulate, the actual
143143
fetching of data is done with the function `fetch_messages_by_uid`. The following
144144
will find out the size of all messages in **INBOX**.
145145

146-
# let msgs = fetch_messages_by_uid s ~folder:"inbox" ~request:[Size] ~uids:UidSet.all;;
146+
# lwt msgs = fetch_messages_by_uid s ~folder:"inbox" ~request:[Size] ~uids:UidSet.all;;
147147
val msgs : message list = [ ... ]
148148

149149
This function returns a list of `message` values. The `message` type is given by

0 commit comments

Comments
 (0)