Diff of /tagmanager/ctags/rust.c [ff7963] .. [530d04]  Maximize  Restore

Switch to side-by-side view

--- a/tagmanager/ctags/rust.c
+++ b/tagmanager/ctags/rust.c
@@ -738,7 +738,8 @@
 			}
 			if (lexer->cur_token == TOKEN_IDENT)
 			{
-				if (strcmp(lexer->token_str->buffer, "priv") == 0)
+				if (strcmp(lexer->token_str->buffer, "priv") == 0
+				    || strcmp(lexer->token_str->buffer, "pub") == 0)
 				{
 					advanceToken(lexer, TRUE);
 					if (lexer->cur_token != TOKEN_IDENT)