Skip to content

fix: typos in comments#14387

Open
NAM-MAN wants to merge 1 commit intogohugoio:masterfrom
NAM-MAN:fix-typos
Open

fix: typos in comments#14387
NAM-MAN wants to merge 1 commit intogohugoio:masterfrom
NAM-MAN:fix-typos

Conversation

@NAM-MAN
Copy link

@NAM-MAN NAM-MAN commented Jan 17, 2026

Fix typos in comments:

  • is isis (x3)
  • a aa
  • to toto (x3)

@gemini-code-assist
Copy link

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

@CLAassistant
Copy link

CLAassistant commented Jan 17, 2026

CLA assistant check
All committers have signed the CLA.

@github-actions
Copy link

AI Detection Analysis 🔍

Confidence Score: 60%

Reasoning: The pull request focuses on fixing very specific and repetitive types of typos in comments, without broader changes to logic or code. While it is possible for a human to make these corrections, the uniformity and consistency across multiple files and the nature of the changes align with actions commonly taken by automated tools or scripts focused on natural language correction. The summary itself displays a list of exact substitutions in a concise and structured format, a style often seen in AI-generated or assisted outputs.

Key Indicators:

  • The changelog mentions correcting multiple identical typos (e.g., "is isis (x3)"), suggesting automated identification.
  • Changes are consistent in formatting and scope (all in comments), lacking variability typical of human editing styles.
  • The description is succinct and formulaic, resembling the output of a script or LLM summarization.
  • The phrase "Fix typos in comments" and the itemized list format match common structures generated by AI-based tools like GitHub Copilot or AI writing assistants.

While a human might have made these changes, the pattern and format are more suggestive of AI assistance.

✅ No strong indicators of AI generation detected

}

// If we get []string []string, we append the from slice to to
// If we get []string []string, we append the from slice to
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't entirely correct.


// Apply passes the given from io.Reader through the transformation chain.
// The result is written to to.
// The result is written to.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"to to" sounds odd, but it is correct.

Fix typos in comments:
- `is is` → `is` (x3)
- `a a` → `a`
- `to to` → `to` (in pagelexer_shortcode.go only)
@NAM-MAN
Copy link
Author

NAM-MAN commented Jan 23, 2026

Thanks @bep for catching that! You're absolutely right - I missed that to is a variable/parameter name in those cases, so "to to" is actually correct (preposition + variable name).

I've reverted the changes to append.go and chain.go, keeping only the genuine typo fixes:

  • is isis (x3)
  • a aa
  • to toto (only in pagelexer_shortcode.go where it's not a variable name)

Sorry for the noise! 🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants