Explorar o código

Remove two access level annotations that are no longer needed.

Jing Yang %!s(int64=4) %!d(string=hai) anos
pai
achega
abb309cff1
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/lib.rs

+ 2 - 2
src/lib.rs

@@ -108,9 +108,9 @@ pub struct AppendEntriesReply {
 
 #[derive(Clone, Debug, Serialize, Deserialize)]
 pub struct InstallSnapshotArgs {
-    pub(crate) term: Term,
+    term: Term,
     leader_id: Peer,
-    pub(crate) last_included_index: Index,
+    last_included_index: Index,
     last_included_term: Term,
     // TODO(ditsing): Serde cannot handle Vec<u8> as efficient as expected.
     data: Vec<u8>,