Skip to main content

update_pr

Function update_pr 

Source
pub fn update_pr(
    token: &str,
    repo: &Repo,
    number: u64,
    title: &str,
    body: &str,
) -> Result<String>
Expand description

Sets the title and body of pull request number and returns its URL.

ยงErrors

Returns an error when the GitHub client cannot be built, the update request fails, or the response carries no URL.