From b9c1129116d1bfc72aa81c34a8d59b52cd3d12e3 Mon Sep 17 00:00:00 2001 From: Val Date: Mon, 6 Jan 2025 13:59:35 +0100 Subject: [PATCH] rename lifetime to origin --- src/rustls/__init__.mojo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rustls/__init__.mojo b/src/rustls/__init__.mojo index 286cb18..dfc531f 100644 --- a/src/rustls/__init__.mojo +++ b/src/rustls/__init__.mojo @@ -254,7 +254,7 @@ struct ClientConnection: pass fn write_tls_into[ - lifetime: MutableLifetime + lifetime: Origin ](inout self, buf: Span[UInt8, lifetime]) raises: pass @@ -487,7 +487,7 @@ struct ServerConfigBuilder: raise Error("failed to set ignore client order" + str(result.value)) fn set_alpn_protocols[ - lt: ImmutableLifetime + lt: Origin ](inout self, protocols: Span[Span[UInt8, lt]]) raises: """ Set the ALPN protocol list to the given protocols.