From 295b343aecf330e830d79f06e0efc511e7d76da1 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Tue, 5 Aug 2025 08:53:21 +0200 Subject: vault backup: 2025-08-05 08:53:21 --- Lifetime specifier.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 Lifetime specifier.md (limited to 'Lifetime specifier.md') diff --git a/Lifetime specifier.md b/Lifetime specifier.md new file mode 100644 index 0000000..b1c5caa --- /dev/null +++ b/Lifetime specifier.md @@ -0,0 +1,3 @@ +[[Borrow checker]] + +A flow permission cannot be given if a function signature states that it returns a reference but the function has multiple returns referencing potentially different variables so the borrow checker doesn't know if it's safe or not. \ No newline at end of file -- cgit v1.2.3