[gnome-builder] rust-analyzer: use consistent comment style



commit 8bd52462618f571ca568b1fc6223bf2f9196437f
Author: Christian Hergert <chergert redhat com>
Date:   Fri Feb 4 12:22:16 2022 -0800

    rust-analyzer: use consistent comment style

 src/plugins/rust-analyzer/rust-analyzer-service.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/rust-analyzer/rust-analyzer-service.c 
b/src/plugins/rust-analyzer/rust-analyzer-service.c
index 06fb8dc68..261203c38 100644
--- a/src/plugins/rust-analyzer/rust-analyzer-service.c
+++ b/src/plugins/rust-analyzer/rust-analyzer-service.c
@@ -173,13 +173,17 @@ rust_analyzer_service_supervisor_spawned_cb (RustAnalyzerService     *self,
 
   self->client = ide_lsp_client_new (io_stream);
 
-   // Opt-in for the experimental proc-macro feature
-  // See https://rust-analyzer.github.io/manual.html#configuration for details
+  /* Opt-in for experimental proc-macro feature to make gtk-rs more
+   * useful for GNOME developers.
+   *
+   * See: https://rust-analyzer.github.io/manual.html#configuration
+   */
   params = JSONRPC_MESSAGE_NEW (
     "procMacro", "{",
       "enable", JSONRPC_MESSAGE_PUT_BOOLEAN(TRUE),
     "}"
   );
+
   ide_lsp_client_set_initialization_options (self->client, params);
 
   g_object_set (self->client,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]