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.
u32
&u32
VcsInfo
1 parent bc124fc commit 0387052Copy full SHA for 0387052
src/api/data_types/chunking/build.rs
@@ -42,5 +42,5 @@ pub struct VcsInfo<'a> {
42
#[serde(skip_serializing_if = "str::is_empty")]
43
pub base_ref: &'a str,
44
#[serde(skip_serializing_if = "Option::is_none")]
45
- pub pr_number: Option<&'a u32>,
+ pub pr_number: Option<u32>,
46
}
src/commands/build/upload.rs
@@ -341,7 +341,7 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
341
base_repo_name: &base_repo_name,
342
head_ref: &head_ref,
343
base_ref: &base_ref,
344
- pr_number: pr_number.as_ref(),
+ pr_number,
345
};
346
match upload_file(
347
&authenticated_api,
0 commit comments