]> git.eshelyaron.com Git - emacs.git/commitdiff
; Eliminate C++ comments and typo
authorPo Lu <luangruo@yahoo.com>
Sat, 17 Aug 2024 14:01:03 +0000 (22:01 +0800)
committerEshel Yaron <me@eshelyaron.com>
Tue, 20 Aug 2024 14:10:39 +0000 (16:10 +0200)
* lib-src/etags.c (Rust_entries): Eliminate C++ comments and
typo.

(cherry picked from commit 1463434907eeccd077f5d3c00309d1e75c7d63f4)

lib-src/etags.c

index edadbc25901b98b4a86877684b86ac6b0b41bb7c..62a03fc4cf1d04d7de7f4d7e3d1e3e4101eb019d 100644 (file)
@@ -5144,10 +5144,10 @@ Rust_entries (FILE *inf)
       cp = skip_spaces(cp);
       name = cp;
 
-      // Skip 'pub' keyworld
+      /* Skip 'pub' keyword.  */
       (void)LOOKING_AT (cp, "pub");
 
-      // Look for define
+      /* Look for define.  */
       if ((is_func = LOOKING_AT (cp, "fn"))
          || LOOKING_AT (cp, "enum")
          || LOOKING_AT (cp, "struct")