removed warnings by adding missing documentation

This commit is contained in:
debris 2016-03-18 22:57:26 +01:00
parent 79aa8570d0
commit ef297dbec7
4 changed files with 5 additions and 0 deletions

View File

@ -33,6 +33,7 @@ pub struct TestAccount {
}
impl TestAccount {
/// Creates new test account.
pub fn new(password: &str) -> Self {
TestAccount {
unlocked: false,

View File

@ -22,6 +22,7 @@ use v1::helpers::ExternalMinerService;
/// Test ExternalMinerService;
pub struct TestExternalMiner {
/// External miners hashrates.
pub hashrates: Arc<RwLock<HashMap<H256, U256>>>
}

View File

@ -14,6 +14,8 @@
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
//! Test rpc services.
mod account_provider;
mod sync_provider;
mod miner_service;

View File

@ -34,6 +34,7 @@ pub struct TestSyncProvider {
}
impl TestSyncProvider {
/// Creates new sync provider.
pub fn new(config: Config) -> Self {
TestSyncProvider {
status: RwLock::new(SyncStatus {