summaryrefslogtreecommitdiff
path: root/std/ws/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'std/ws/README.md')
-rw-r--r--std/ws/README.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/std/ws/README.md b/std/ws/README.md
index e00c469ff..fe5bae983 100644
--- a/std/ws/README.md
+++ b/std/ws/README.md
@@ -60,9 +60,11 @@ async function main(): Promise<void> {
}
}
)
- .catch((err: Error): void => {
- console.error(`failed to accept websocket: ${err}`);
- });
+ .catch(
+ (err: Error): void => {
+ console.error(`failed to accept websocket: ${err}`);
+ }
+ );
}
}