Skip to content

Commit 7137329

Browse files
authored
Update _owning_list.mojo
1 parent 44126d5 commit 7137329

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightbug_http/_owning_list.mojo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ struct OwningList[T: Movable](Movable, Sized, Boolable):
202202
writer.write("]")
203203

204204
@no_inline
205-
fn __repr__[U: Representable & Movable & Copyable, //](self: OwningList[U, *_]) -> String:
205+
fn __repr__[U: Representable & Movable, //](self: OwningList[U, *_]) -> String:
206206
"""Returns a string representation of a `List`.
207207
208208
Note that since we can't condition methods on a trait yet,
@@ -220,7 +220,7 @@ struct OwningList[T: Movable](Movable, Sized, Boolable):
220220
221221
Parameters:
222222
U: The type of the elements in the list. Must implement the
223-
traits `Representable` and `CollectionElement`.
223+
traits `Representable` and `Movable`.
224224
225225
Returns:
226226
A string representation of the list.

0 commit comments

Comments
 (0)