]> git.lizzy.rs Git - rust.git/commitdiff
remove forgotten dbg macro
authorEduardo Canellas <eduardocanellas98@gmail.com>
Tue, 4 Jan 2022 18:37:10 +0000 (15:37 -0300)
committerEduardo Canellas <eduardocanellas98@gmail.com>
Tue, 4 Jan 2022 18:37:10 +0000 (15:37 -0300)
crates/ide_completion/src/completions/fn_param.rs

index 2fb5336f8742bc9ae931e1878c178846dd5261b5..3dd4aca9ceea83560e1613114ec4e0a5c55284bb 100644 (file)
@@ -109,7 +109,6 @@ fn surround_with_commas(ctx: &CompletionContext, param: String) -> Option<String
 
     let trailing_comma_missing = matches!(next_token.kind(), SyntaxKind::IDENT);
     let trailing = if trailing_comma_missing { "," } else { "" };
-    dbg!(&ctx.token.next_token()?);
 
     let previous_token = if matches!(ctx.token.kind(), SyntaxKind::IDENT | SyntaxKind::WHITESPACE) {
         ctx.previous_token.as_ref()?