Skip to content

Commit b04b336

Browse files
committed
make CratePatch and TomlTweaker private
1 parent 263f09a commit b04b336

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/build.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ use std::path::PathBuf;
77
use std::vec::Vec;
88

99
#[derive(Clone)]
10-
pub struct CratePatch {
11-
pub name: String,
12-
pub uri: String,
13-
pub branch: String,
10+
pub(crate) struct CratePatch {
11+
pub(crate) name: String,
12+
pub(crate) uri: String,
13+
pub(crate) branch: String,
1414
}
1515

1616
/// Directory in the [`Workspace`](struct.Workspace.html) where builds can be executed.

src/prepare.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ impl<'a> Prepare<'a> {
142142
}
143143
}
144144

145-
pub struct TomlTweaker<'a> {
145+
struct TomlTweaker<'a> {
146146
krate: &'a Crate,
147147
table: Table,
148148
dir: Option<&'a Path>,

0 commit comments

Comments
 (0)