From 40f734fdedb6ca599bd1ed3e46d656b228a6746f Mon Sep 17 00:00:00 2001 From: Franz Heinzmann <frando@unbiskant.org> Date: Thu, 13 Jun 2024 17:09:32 +0200 Subject: [PATCH] Update builder.rs --- iroh/src/node/builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iroh/src/node/builder.rs b/iroh/src/node/builder.rs index 310241d63e3..50d5bbd33db 100644 --- a/iroh/src/node/builder.rs +++ b/iroh/src/node/builder.rs @@ -389,7 +389,7 @@ where /// # use anyhow::Result; /// # use futures_lite::future::Boxed as BoxedFuture; /// - /// const MY_ALPN: &[u8] = "my-protocol/1"; + /// const MY_ALPN: &[u8] = b"my-protocol/1"; /// /// #[derive(Debug)] /// struct MyProtocol;