From 73e9a0b85480701546a6d8f566eeaab5d2bc6223 Mon Sep 17 00:00:00 2001 From: drgnchan <40224023+drgnchan@users.noreply.github.com> Date: Fri, 23 Dec 2022 15:41:41 +0800 Subject: [PATCH] Update references-dangling.md --- src/basic-syntax/references-dangling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic-syntax/references-dangling.md b/src/basic-syntax/references-dangling.md index efaaa725..deb8c18b 100644 --- a/src/basic-syntax/references-dangling.md +++ b/src/basic-syntax/references-dangling.md @@ -13,7 +13,7 @@ fn main() { } ``` -* A reference is said to "borrow" the value is refers to. +* A reference is said to "borrow" the value it refers to. * Rust is tracking the lifetimes of all references to ensure they live long enough. * We will talk more about borrowing when we get to ownership.