From 7fc72ee505822abc34389e5242ca0f635fe1e0ef Mon Sep 17 00:00:00 2001 From: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com> Date: Thu, 27 Aug 2020 17:39:19 +0100 Subject: [PATCH] Fix a small typo. --- src/rust-next/const-fn.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rust-next/const-fn.md b/src/rust-next/const-fn.md index 2f504d1f..65f640f7 100644 --- a/src/rust-next/const-fn.md +++ b/src/rust-next/const-fn.md @@ -230,7 +230,7 @@ const fn foo() { ![Minimum Rust version: 1.33](https://img.shields.io/badge/Minimum%20Rust%20Version-1.33-brightgreen.svg) -YOu can call an `unsafe fn` inside a `const fn`: +You can call an `unsafe fn` inside a `const fn`: ``` const unsafe fn foo() -> i32 { 5 } @@ -238,4 +238,4 @@ const unsafe fn foo() -> i32 { 5 } const fn bar() -> i32 { unsafe { foo() } } -``` \ No newline at end of file +```