Apply suggestion from Centril

Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
This commit is contained in:
Yuki Okushi 2019-12-23 08:24:11 +09:00
parent 1f2fa939a5
commit d918319bed
1 changed files with 1 additions and 1 deletions

View File

@ -12,5 +12,5 @@ impl<const C: usize> Const<{C}> {
}
fn main() {
Const::<1>::successor();
let _x: Const::<2> = Const::<1>::successor();
}