Skip to content

Commit cf578cc

Browse files
authored
Fixed some find/replace errors (aundefined => avoid) (#2579)
1 parent 95ef255 commit cf578cc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

crates/web-sys/webidls/enabled/RTCPeerConnection.webidl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ interface RTCPeerConnection : EventTarget {
143143

144144
partial interface RTCPeerConnection {
145145

146-
// Dummy Promise<undefined> return values aundefined "WebIDL.WebIDLError: error:
146+
// Dummy Promise<undefined> return values avoid "WebIDL.WebIDLError: error:
147147
// We have overloads with both Promise and non-Promise return types"
148148

149149
Promise<undefined> createOffer (RTCSessionDescriptionCallback successCallback,

crates/web-sys/webidls/enabled/TCPSocket.webidl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ interface TCPSocket : EventTarget {
151151
/**
152152
* After send has buffered more than 64k of data, it returns false to
153153
* indicate that the client should pause before sending more data, to
154-
* aundefined accumulating large buffers. This is only advisory, and the client
154+
* avoid accumulating large buffers. This is only advisory, and the client
155155
* is free to ignore it and buffer as much data as desired, but if reducing
156156
* the size of buffers is important (especially for a streaming application)
157157
* the "drain" event will be dispatched once the previously-buffered data has

crates/web-sys/webidls/enabled/TextEncoder.webidl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ interface TextEncoder {
1717
readonly attribute DOMString encoding;
1818
/*
1919
* This is spec-wise USVString but marking it as
20-
* DOMString to aundefined duplicate work. Since the
20+
* DOMString to avoid duplicate work. Since the
2121
* UTF-16 to UTF-8 converter performs processing
2222
* that's equivalent to first converting a
23-
* DOMString to a USVString, let's aundefined having
23+
* DOMString to a USVString, let's avoid having
2424
* the binding code doing it, too.
2525
*/
2626
[NewObject]

0 commit comments

Comments
 (0)