Skip to content

Commit 0a98bc9

Browse files
committed
Fix a typo and use rustc instead of Rustc
1 parent f716b89 commit 0a98bc9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/anti_patterns/deny-warnings.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ Travis, but remember that this may break the build when something changes)
5454
without requiring a change to the code.
5555

5656
Alternatively, we can specify the lints that we want to `deny` in the code. Here
57-
is a list of warning lints that is (hopefully) safe to deny (as of Rustc
58-
1.48.0):
57+
is a list of warning lints that is (hopefully) safe to deny (as of rustc 1.48.0):
5958

6059
```rust,ignore
6160
#![deny(

src/patterns/ffi/wrappers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ pub mod unsafe_module {
114114
// other module content
115115
116116
pub fn myset_store(myset: *mut MySetWrapper, key: datum, value: datum) -> libc::c_int {
117-
// DO NOT USE THIS CODE. IT IS UNSAFE TO DEMONSTRATE A PROLBEM.
117+
// DO NOT USE THIS CODE. IT IS UNSAFE TO DEMONSTRATE A PROBLEM.
118118
119119
let myset: &mut MySet = unsafe {
120120
// SAFETY: whoops, UB occurs in here!

0 commit comments

Comments
 (0)