-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
src: run clippy and fix issues #59
Conversation
Signed-off-by: jaudiger <[email protected]>
} | ||
|
||
s | ||
} | ||
|
||
/// Return the unstyled length of AnsiStrings. This is equaivalent to `unstyle(strs).len()`. | ||
/// Return the unstyled length of `AnsiStrings`. This is equivalent to `unstyle(strs).len()`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A typo was hidden here: equaivalent
Before we consider this, we are currently lacking a MSRV checking CI step. If this is not MSRV bumping I would be fine with landing it after review, but we will probably wait on shipping until a necessary bugfix/new feature arrives. |
I checked this morning of the two PRs I opened were raising the MSRV with the tool cargo msrv
Fetching index
Determining the Minimum Supported Rust Version (MSRV) for toolchain aarch64-apple-darwin
Using check command cargo check
Check for toolchain '1.67.1-aarch64-apple-darwin' succeeded
Check for toolchain '1.61.0-aarch64-apple-darwin' failed with:
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ error: package `nu-ansi-term v0.50.0 (/Users/jaudiger/Development/git-repositories/jaudiger/nu-ansi-term)` cannot be built because it requires rustc 1.62.1 or newer, while the currently active rustc version is 1.61.0 │
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Check for toolchain '1.64.0-aarch64-apple-darwin' succeeded
Check for toolchain '1.62.1-aarch64-apple-darwin' succeeded
Finished The MSRV is: 1.62.1 Please let me know if there is anything else I could do. If you prefer to split the PR and focus on one work at a time, I'm also okay. |
When I run |
Very similar to #58 but on src folder this time