Upgrade typos-ci, fix typos
This commit is contained in:
parent
ba16ce40cc
commit
f964656a4d
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -46,7 +46,7 @@ jobs:
|
|||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
- name: Check spelling
|
- name: Check spelling
|
||||||
uses: crate-ci/typos@v1.14.8
|
uses: crate-ci/typos@v1.15.0
|
||||||
|
|
||||||
- name: Install cargo-sort
|
- name: Install cargo-sort
|
||||||
uses: taiki-e/cache-cargo-install-action@v1
|
uses: taiki-e/cache-cargo-install-action@v1
|
||||||
|
@ -64,7 +64,7 @@ pub mod v3 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl Response {
|
impl Response {
|
||||||
/// Creates a new `Response` with the gien algorithm, key count, etag and version.
|
/// Creates a new `Response` with the given algorithm, key count, etag and version.
|
||||||
pub fn new(
|
pub fn new(
|
||||||
algorithm: Raw<BackupAlgorithm>,
|
algorithm: Raw<BackupAlgorithm>,
|
||||||
count: UInt,
|
count: UInt,
|
||||||
|
@ -63,7 +63,7 @@ impl<C: Base64Config, B> Base64<C, B> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl<C: Base64Config, B: AsRef<[u8]>> Base64<C, B> {
|
impl<C: Base64Config, B: AsRef<[u8]>> Base64<C, B> {
|
||||||
/// Create a `Base64` instance from raw bytes, to be base64-encoded in serialialization.
|
/// Create a `Base64` instance from raw bytes, to be base64-encoded in serialization.
|
||||||
pub fn new(bytes: B) -> Self {
|
pub fn new(bytes: B) -> Self {
|
||||||
Self { bytes, _phantom_conf: PhantomData }
|
Self { bytes, _phantom_conf: PhantomData }
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@ pub mod v2 {
|
|||||||
/// The UNIX timestamp at which the association was verified.
|
/// The UNIX timestamp at which the association was verified.
|
||||||
pub ts: MilliSecondsSinceUnixEpoch,
|
pub ts: MilliSecondsSinceUnixEpoch,
|
||||||
|
|
||||||
/// The signatures of the verifiying identity servers which show that the
|
/// The signatures of the verifying identity servers which show that the
|
||||||
/// association should be trusted, if you trust the verifying identity services.
|
/// association should be trusted, if you trust the verifying identity services.
|
||||||
pub signatures: ServerSignatures,
|
pub signatures: ServerSignatures,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user