Skip to content

Commit

Permalink
docs(rust): add docs to ContractBytecodeQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
mehcode committed Jun 22, 2022
1 parent 49a3424 commit d06a680
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk/rust/src/contract/contract_bytecode_query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pub struct ContractBytecodeQueryData {
}

impl ContractBytecodeQuery {
/// Sets the contract for which information is requested.
pub fn contract_id(&mut self, contract_id: ContractId) -> &mut Self {
self.data.contract_id = Some(contract_id);
self
Expand Down

0 comments on commit d06a680

Please sign in to comment.