diff options
| author | Simon Vandel Sillesen <simon.vandel@gmail.com> | 2020-09-19 23:27:20 +0200 |
|---|---|---|
| committer | Simon Vandel Sillesen <simon.vandel@gmail.com> | 2020-09-20 14:45:46 +0200 |
| commit | 5cc93950acb18c5b0978583ea518940336e847af (patch) | |
| tree | 5b80a8441578ecd0e7b7cc0387bce359c0bdc23f | |
| parent | 5fb32c2e33fd102adb14d943355542d1a1d2e68e (diff) | |
| download | rust-5cc93950acb18c5b0978583ea518940336e847af.tar.gz rust-5cc93950acb18c5b0978583ea518940336e847af.zip | |
Update src/librustc_mir/transform/early_otherwise_branch.rs
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
| -rw-r--r-- | compiler/rustc_mir/src/transform/early_otherwise_branch.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir/src/transform/early_otherwise_branch.rs b/compiler/rustc_mir/src/transform/early_otherwise_branch.rs index 0dc311ebb8c..e60cc8c1348 100644 --- a/compiler/rustc_mir/src/transform/early_otherwise_branch.rs +++ b/compiler/rustc_mir/src/transform/early_otherwise_branch.rs @@ -20,7 +20,7 @@ use std::{borrow::Cow, fmt::Debug}; /// let x: Option<()>; /// let y: Option<()>; /// let discriminant_x = // get discriminant of x -/// let discriminant_y = // get discriminant of x +/// let discriminant_y = // get discriminant of y /// if discriminant_x != discriminant_y {1} else {0} /// ``` pub struct EarlyOtherwiseBranch; |
