diff --git a/module/move/willbe/src/entity/channel.rs b/module/move/willbe/src/entity/channel.rs index 5d0d33b1d3..cb45418c06 100644 --- a/module/move/willbe/src/entity/channel.rs +++ b/module/move/willbe/src/entity/channel.rs @@ -66,8 +66,9 @@ mod private let list = report .out .lines() - .map( | l | l.split_once( '-' ).unwrap().0 ) - .filter_map( | c | match c + // toolchain with a name without `-` may exist, but we are looking at specific ones + .filter_map( | l | l.split_once( '-' ) ) + .filter_map( |( c, _ ) | match c { "stable" => Some( Channel::Stable ), "nightly" => Some( Channel::Nightly ),