Skip to content

Commit

Permalink
Fix cargo doc (#108)
Browse files Browse the repository at this point in the history
* fix typo

* check cargo doc
  • Loading branch information
rnbguy authored Jun 13, 2023
1 parent 3af29ac commit 549296d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,23 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --all-targets -- -Dwarnings -Drust-2018-idioms

cargo-doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.cargo
target
key: ${{ runner.os }}-rust-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-rust-
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: doc
4 changes: 2 additions & 2 deletions src/modules/ibc/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ where
Ok(ack)
}

/// Returns the time when the client state for the given [`ClientId`] was updated with a header for the given [`Height`]
/// Returns the time when the client state for the given [`ClientId`] was updated with a header for the given [`IbcHeight`]
fn client_update_time(
&self,
client_id: &ClientId,
Expand All @@ -643,7 +643,7 @@ where
Ok(processed_timestamp)
}

/// Returns the height when the client state for the given [`ClientId`] was updated with a header for the given [`Height`]
/// Returns the height when the client state for the given [`ClientId`] was updated with a header for the given [`IbcHeight`]
fn client_update_height(
&self,
client_id: &ClientId,
Expand Down

0 comments on commit 549296d

Please sign in to comment.