Upgrade typos-ci, fix typos

This commit is contained in:
Jonas Platte 2023-06-14 12:47:57 +02:00
parent ba16ce40cc
commit f964656a4d
No known key found for this signature in database
GPG Key ID: AAA7A61F696C3E0C
4 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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,

View File

@ -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 }
} }

View File

@ -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,
} }