Skip to content

Commit a6d96f9

Browse files
committed
Fix typo
1 parent a28f3c8 commit a6d96f9

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_middle/src/ty/inhabitedness

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/inhabitedness/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
//! }
3030
//! ```
3131
//! In this code, the type `Foo` will only be visibly uninhabited inside the
32-
//! modules `b`, `c` and `d`. Calling `uninhabited_predicate` on `Foo` will
32+
//! modules `b`, `c` and `d`. Calling `inhabited_predicate` on `Foo` will
3333
//! return `NotInModule(b) AND NotInModule(c)`.
3434
//!
3535
//! We need this information for pattern-matching on `Foo` or types that contain

0 commit comments

Comments
 (0)