From f6e698c55a25b70d8bacb68a223b9351c525d620 Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Fri, 10 May 2024 17:16:15 +0200 Subject: [PATCH] Add missing bounds to scopes in example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0c5a543..f01e4be 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ impl<'a> nolife::Family<'a> for MyParsedDataFamily { // 2. Define a function that setups the data and its borrowed representation: fn my_scope( data_source: Vec, // 👈 all parameters that allow to build a `MyData` -) -> impl nolife::TopScope // 👈 use the helper type we declared +) -> impl nolife::TopScope // 👈 use the helper type we declared { nolife::scope!({ let mut data = MyData(data_source);