Skip to content

Commit 1ea95bc

Browse files
committed
Revert GuestWorkId, and make function less public
1 parent 24b5380 commit 1ea95bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

upstairs/src/guest.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ impl GtoS {
147147

148148
/// Strongly-typed ID for guest work (stored in the [`GuestWork`] map)
149149
#[derive(Copy, Clone, Debug, Hash, Eq, PartialEq, Ord, PartialOrd)]
150-
pub struct GuestWorkId(pub u64);
150+
pub(crate) struct GuestWorkId(pub u64);
151151

152152
impl std::fmt::Display for GuestWorkId {
153153
fn fmt(
@@ -244,7 +244,7 @@ impl GuestWork {
244244
* This may include moving data buffers from completed reads.
245245
*/
246246
#[instrument]
247-
pub async fn gw_ds_complete(
247+
pub(crate) async fn gw_ds_complete(
248248
&mut self,
249249
gw_id: GuestWorkId,
250250
ds_id: JobId,

0 commit comments

Comments
 (0)