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 +```