Skip to content

Commit

Permalink
Fix a typo and use rustc instead of Rustc (#419)
Browse files Browse the repository at this point in the history
Co-authored-by: simonsan <[email protected]>
  • Loading branch information
ShapelessCat and simonsan authored Oct 4, 2024
1 parent f716b89 commit c64d1ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/anti_patterns/deny-warnings.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Travis, but remember that this may break the build when something changes)
without requiring a change to the code.

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

```rust,ignore
Expand Down
2 changes: 1 addition & 1 deletion src/patterns/ffi/wrappers.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ pub mod unsafe_module {
// other module content
pub fn myset_store(myset: *mut MySetWrapper, key: datum, value: datum) -> libc::c_int {
// DO NOT USE THIS CODE. IT IS UNSAFE TO DEMONSTRATE A PROLBEM.
// DO NOT USE THIS CODE. IT IS UNSAFE TO DEMONSTRATE A PROBLEM.
let myset: &mut MySet = unsafe {
// SAFETY: whoops, UB occurs in here!
Expand Down

0 comments on commit c64d1ac

Please sign in to comment.