We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fb32c2 commit 5cc9395Copy full SHA for 5cc9395
compiler/rustc_mir/src/transform/early_otherwise_branch.rs
@@ -20,7 +20,7 @@ use std::{borrow::Cow, fmt::Debug};
20
/// let x: Option<()>;
21
/// let y: Option<()>;
22
/// let discriminant_x = // get discriminant of x
23
-/// let discriminant_y = // get discriminant of x
+/// let discriminant_y = // get discriminant of y
24
/// if discriminant_x != discriminant_y {1} else {0}
25
/// ```
26
pub struct EarlyOtherwiseBranch;
0 commit comments