Skip to content

Commit aea3013

Browse files
committed
Make prose more consistent.
1 parent 67f06ad commit aea3013

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

web-server-doc/web-server/scribblings/cache-table.scrbl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ functions.
2525
@defproc[(cache-table-clear! [ct cache-table?]
2626
[entry-ids (or/c false/c (listof symbol?)) #f])
2727
void?]{
28-
If @racket[entry-ids] is @racket[#f] (the default), clears all entries in
29-
@racket[ct]. Otherwise, clears only the entries with keys in @racket[entry-ids].
28+
If @racket[entry-ids] is @racket[#f], clears all entries in @racket[ct].
29+
Otherwise, clears only the entries with keys in @racket[entry-ids].
3030
}
3131

3232
@defproc[(cache-table? [v any/c])

web-server-doc/web-server/scribblings/dispatch-servlets.scrbl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
[path->serlvet path->servlet/c])
2121
(values (->* () ((or/c false/c (listof url?))) void?)
2222
url->servlet/c)]{
23-
The first return value flushes the cache. If its option argument is
24-
@racket[#f] (the default), all cached servlets are flushed. Otherwise,
25-
it flushes only those servlet caches to which @racket[url->path] maps
26-
the given URLs. The second return value is a procedure that uses
23+
The first return value flushes the cache. If its optional argument is
24+
@racket[#f] (the default), all servlet caches are flushed. Otherwise,
25+
only those servlet caches to which @racket[url->path] maps the given
26+
URLs are flushed. The second return value is a procedure that uses
2727
@racket[url->path] to resolve the URL to a path, then uses
2828
@racket[path->servlet] to resolve that path to a servlet, caching the
2929
results in an internal table.

0 commit comments

Comments
 (0)