From 41b3be991c39c936759ac9b6cf6e9fb851f876f1 Mon Sep 17 00:00:00 2001 From: Per <Per Lindgren> Date: Mon, 20 Nov 2017 23:06:56 +0100 Subject: [PATCH] small fix --- doc/RTFM.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/RTFM.md b/doc/RTFM.md index 84a6b90..89f107d 100644 --- a/doc/RTFM.md +++ b/doc/RTFM.md @@ -298,7 +298,7 @@ Race freeness at this level can be argued from: error[E0499]: cannot borrow `LOW` as mutable more than once at a time --> examples/nested_new.rs:100:29 | -100 | LOW.claim_mut_new(b, t, |_low, b, t| { +100 | LOW.claim_mut(b, t, |_low, b, t| { | --- ^^^^^^^^^^^^ second mutable borrow occurs here ``` Trying to bluntly copy (clone) a resource handler will also fail. -- GitLab