removed warnings by adding missing documentation
This commit is contained in:
		
							parent
							
								
									79aa8570d0
								
							
						
					
					
						commit
						ef297dbec7
					
				| @ -33,6 +33,7 @@ pub struct TestAccount { | ||||
| } | ||||
| 
 | ||||
| impl TestAccount { | ||||
| 	/// Creates new test account.
 | ||||
| 	pub fn new(password: &str) -> Self { | ||||
| 		TestAccount { | ||||
| 			unlocked: false, | ||||
|  | ||||
| @ -22,6 +22,7 @@ use v1::helpers::ExternalMinerService; | ||||
| 
 | ||||
| /// Test ExternalMinerService;
 | ||||
| pub struct TestExternalMiner { | ||||
| 	/// External miners hashrates.
 | ||||
| 	pub hashrates: Arc<RwLock<HashMap<H256, U256>>> | ||||
| } | ||||
| 
 | ||||
|  | ||||
| @ -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; | ||||
|  | ||||
| @ -34,6 +34,7 @@ pub struct TestSyncProvider { | ||||
| } | ||||
| 
 | ||||
| impl TestSyncProvider { | ||||
| 	/// Creates new sync provider.
 | ||||
| 	pub fn new(config: Config) -> Self { | ||||
| 		TestSyncProvider { | ||||
| 			status: RwLock::new(SyncStatus { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user