Skip to content

Commit 387d823

Browse files
committed
fix docstrings
1 parent ff3d817 commit 387d823

File tree

1 file changed

+2
-2
lines changed
  • toolkit/data-sources/db-sync/src/candidates

1 file changed

+2
-2
lines changed

toolkit/data-sources/db-sync/src/candidates/cached.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ impl CandidateDataSourceCacheConfig {
9797
}
9898

9999
impl CandidateDataSourceCached {
100-
/// TODO
100+
/// Creates new instance of the data source
101101
pub fn new(
102102
inner: CandidatesDataSourceImpl,
103103
candidates_for_epoch_cache_size: usize,
@@ -116,7 +116,7 @@ impl CandidateDataSourceCached {
116116
}
117117
}
118118

119-
/// TODO
119+
/// Creates a new instance of the data source, reading configuration from the environment.
120120
pub fn new_from_env(
121121
inner: CandidatesDataSourceImpl,
122122
candidates_for_epoch_cache_size: usize,

0 commit comments

Comments
 (0)