Skip to content

Commit 53bdf51

Browse files
benev0lpil
authored andcommitted
add doc comments
1 parent ebaae3a commit 53bdf51

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,8 @@ pub fn get_repository_versions_request(
256256
.expect("get_repository_versions_request request")
257257
}
258258

259-
/// Parse a request that get the names and versions of all of the packages on
259+
/// Parse a request that gets the names and versions of all of the packages on
260260
/// the package registry.
261-
///
262261
pub fn get_repository_versions_response(
263262
response: http::Response<Vec<u8>>,
264263
public_key: &[u8],
@@ -277,6 +276,7 @@ pub fn get_repository_versions_response(
277276
get_repository_versions_data(&body, public_key)
278277
}
279278

279+
/// Parse a signed binary message containing all of the packages on the package registry.
280280
pub fn get_repository_versions_data(
281281
protobuf_bytes: &Vec<u8>,
282282
public_key: &[u8],
@@ -349,6 +349,7 @@ pub fn get_package_response(
349349
get_package_data(&body, public_key)
350350
}
351351

352+
/// Parse a signed binary message containing the information for a package in the repository.
352353
pub fn get_package_data(
353354
protobuf_bytes: &Vec<u8>,
354355
public_key: &[u8],

0 commit comments

Comments
 (0)