File: print_pr_diff.rs

package info (click to toggle)
rust-octocrab 0.43.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,532 kB
  • sloc: makefile: 2
file content (11 lines) | stat: -rw-r--r-- 210 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#[tokio::main]
async fn main() -> octocrab::Result<()> {
    let diff = octocrab::instance()
        .pulls("rust-lang", "rust")
        .get_diff(72033)
        .await?;

    println!("{diff}");

    Ok(())
}