1
Fork 0

correct comment

This commit is contained in:
Simon Vandel Sillesen 2020-09-19 23:53:18 +02:00
parent 0e06456ecb
commit 2530274023
11 changed files with 1 additions and 993 deletions

View file

@ -21,7 +21,7 @@ use std::{borrow::Cow, fmt::Debug};
/// let y: Option<()>;
/// let discriminant_x = // get discriminant of x
/// let discriminant_y = // get discriminant of y
/// if discriminant_x != discriminant_y {1} else {0}
/// if discriminant_x != discriminant_y || discriminant_x == None {1} else {0}
/// ```
pub struct EarlyOtherwiseBranch;