@@ -191,10 +191,10 @@ macro_rules! selection {
191191
192192 let mut msg = String :: with_capacity( 1024 ) ;
193193
194- _ = writeln!( msg, "**{}**" , $title) ;
194+ writeln!( msg, "**{}**" , $title) . ok ( ) ;
195195
196196 for ( i, element) in $list. iter( ) . enumerate( ) {
197- _ = write!( msg, "{}) " , i + 1 ) ;
197+ write!( msg, "{}) " , i + 1 ) . ok ( ) ;
198198 msg. push_str( & element. 0 ) ;
199199 msg. push( '\n' ) ;
200200 }
@@ -215,15 +215,15 @@ macro_rules! selection {
215215/// This is an inner function for `selection!()` macro. Do not use!
216216macro_rules! selection_inner {
217217 ( clear, $ctx: expr, $interaction: ident) => {
218- _ = $interaction
218+ $interaction
219219 . create_interaction_response( $ctx. serenity_context( ) , |r| {
220220 r. kind( serenity:: model:: application:: interaction:: InteractionResponseType :: UpdateMessage )
221221 . interaction_response_data( |d| {
222222 d. content( "An action has already been taken." )
223223 . set_components( serenity:: builder:: CreateComponents :: default ( ) )
224224 } )
225225 } )
226- . await ;
226+ . await . ok ( ) ;
227227 } ;
228228 ( get_interaction, $ctx: expr, $res: ident, $n: lifetime, $def_return: expr) => {
229229 {
@@ -240,11 +240,11 @@ macro_rules! selection_inner {
240240 std:: time:: Duration :: from_secs( get_config!( ) . message_interaction_time_limit( ) )
241241 ) . await else
242242 {
243- _ = handle. edit( $ctx, |m| {
243+ handle. edit( $ctx, |m| {
244244 m. content( "Interaction timed out." ) . components( |c| {
245245 c. create_action_row( |row| row)
246246 } )
247- } ) . await ;
247+ } ) . await . ok ( ) ;
248248 break $n $def_return;
249249 } ;
250250
0 commit comments