Skip to content

Commit fb8b63f

Browse files
authored
Merge pull request #132 from goldlinker/main
chore: fix some minor issues in the comments
2 parents a7367f7 + 441631f commit fb8b63f

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ jobs:
3232
path: ~/.cargo/registry/index
3333
key: cargo-${{ matrix.rust }}-git-index
3434

35+
- name: Lock MSRV-compatible dependencies
36+
if: startsWith(matrix.rust, '1')
37+
env:
38+
CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS: fallback
39+
# Note that this uses the runner's pre-installed stable cargo
40+
run: cargo generate-lockfile
41+
3542
- name: Set up Rust
3643
uses: dtolnay/rust-toolchain@master
3744
with:

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@ impl<L, R> Either<Option<L>, Option<R>> {
950950
}
951951

952952
impl<L, R, E> Either<Result<L, E>, Result<R, E>> {
953-
/// Factors out a homogenous type from an `Either` of [`Result`].
953+
/// Factors out a homogeneous type from an `Either` of [`Result`].
954954
///
955955
/// Here, the homogeneous type is the `Err` type of the [`Result`].
956956
///
@@ -972,7 +972,7 @@ impl<L, R, E> Either<Result<L, E>, Result<R, E>> {
972972
}
973973

974974
impl<T, L, R> Either<Result<T, L>, Result<T, R>> {
975-
/// Factors out a homogenous type from an `Either` of [`Result`].
975+
/// Factors out a homogeneous type from an `Either` of [`Result`].
976976
///
977977
/// Here, the homogeneous type is the `Ok` type of the [`Result`].
978978
///

0 commit comments

Comments
 (0)