We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f07f7c commit 6f92980Copy full SHA for 6f92980
src/controllers/krate/owners.rs
@@ -55,9 +55,12 @@ pub fn remove_owners(req: &mut dyn RequestExt) -> EndpointResult {
55
}
56
57
/// Parse the JSON request body of requests to modify the owners of a crate.
58
-/// The format is
59
///
60
-/// {"owners": ["username", "github:org:team", ...]}
+/// The format is:
+///
61
+/// ```json
62
+/// {"owners": ["username", "github:org:team", ...]}
63
+/// ```
64
fn parse_owners_request(req: &mut dyn RequestExt) -> AppResult<Vec<String>> {
65
let mut body = String::new();
66
req.body().read_to_string(&mut body)?;
0 commit comments