File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,6 @@ struct NetworkType(EqualityComparableCollectionElement):
123123
124124 fn is_ipv4 (self ) -> Bool:
125125 """ Check if the network type is IPv4."""
126- print (" self.value:" , self .value)
127126 return self in (NetworkType.tcp4, NetworkType.udp4, NetworkType.ip4)
128127
129128 fn is_ipv6 (self ) -> Bool:
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ struct Server(Movable):
8181 """
8282 return self .max_concurrent_connections
8383
84- fn listen_and_serve [T : HTTPService](mut self , address : String , mut handler : T) raises :
84+ fn listen_and_serve [T : HTTPService](mut self , address : StringLiteral , mut handler : T) raises :
8585 """ Listen for incoming connections and serve HTTP requests.
8686
8787 Parameters:
You can’t perform that action at this time.
0 commit comments