Skip to content

Commit 81f1686

Browse files
authored
Merge pull request #218 from teymour-aldridge/patch-1
Fix a small typo.
2 parents bd6e4a9 + 7fc72ee commit 81f1686

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rust-next/const-fn.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,12 +230,12 @@ const fn foo() {
230230

231231
![Minimum Rust version: 1.33](https://img.shields.io/badge/Minimum%20Rust%20Version-1.33-brightgreen.svg)
232232

233-
YOu can call an `unsafe fn` inside a `const fn`:
233+
You can call an `unsafe fn` inside a `const fn`:
234234

235235
```
236236
const unsafe fn foo() -> i32 { 5 }
237237
238238
const fn bar() -> i32 {
239239
unsafe { foo() }
240240
}
241-
```
241+
```

0 commit comments

Comments
 (0)