From 420039142e5411fd705c98306a0e5239df5507b8 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sat, 17 Aug 2024 22:01:03 +0800 Subject: [PATCH] ; Eliminate C++ comments and typo * lib-src/etags.c (Rust_entries): Eliminate C++ comments and typo. (cherry picked from commit 1463434907eeccd077f5d3c00309d1e75c7d63f4) --- lib-src/etags.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib-src/etags.c b/lib-src/etags.c index edadbc25901..62a03fc4cf1 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -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") -- 2.39.2