fix(error): correct 'occured'/'occurr' typos in Error::Io#415
fix(error): correct 'occured'/'occurr' typos in Error::Io#415SAY-5 wants to merge 1 commit intoprisma:mainfrom
Conversation
src/error.rs had three spelling errors clustered around the Error enum: * Doc comment on the enum: 'might occurr during' -> 'might occur during' * thiserror error message for Error::Io: 'An error occured during the attempt of performing I/O' -> 'An error occurred ...' * Doc comment on Error::Io: 'An error occured when performing I/O' -> 'An error occurred when performing I/O' The error message is user-visible whenever a tiberius client logs or formats an Io error, so correcting it removes a small but visible spelling mistake from downstream applications. cargo check on the default tokio + rustls feature set stays clean.
Summary by CodeRabbit
WalkthroughSpelling corrections in the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
src/error.rs (1)
86-86: 🧹 Nitpick | 🔵 TrivialOptional: Fix similar typo in this error message.
While reviewing the spelling corrections, noticed "convertiong" should be "converting" on this line. Consider fixing this similar typo for consistency.
📝 Proposed fix
- Self::Conversion(format!("Error convertiong a Guid value {}", e).into()) + Self::Conversion(format!("Error converting a Guid value {}", e).into())🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/error.rs` at line 86, Fix the typo in the Conversion error message in src/error.rs: replace the string "Error convertiong a Guid value {}" used in Self::Conversion(...) with "Error converting a Guid value {}" so the error text is spelled correctly; search for other occurrences of "convertiong" and correct them similarly to keep messages consistent.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Outside diff comments:
In `@src/error.rs`:
- Line 86: Fix the typo in the Conversion error message in src/error.rs: replace
the string "Error convertiong a Guid value {}" used in Self::Conversion(...)
with "Error converting a Guid value {}" so the error text is spelled correctly;
search for other occurrences of "convertiong" and correct them similarly to keep
messages consistent.
src/error.rshad three spelling errors clustered around theErrorenum:might occurr during→might occur duringthiserrorerror message forError::Io:An error occured during the attempt of performing I/O→An error occurred ...Error::Io:An error occured when performing I/O→An error occurred when performing I/OThe error message is user-visible whenever a tiberius client logs or formats an
Error::Io(it's theDisplayimpl produced bythiserror), so correcting it removes a visible spelling mistake from downstream applications.cargo check(default features) andcargo check --no-default-features --features rustls,tokio-util,sql-browser-tokioboth stay clean against currentmain.