Skip to content

Commit 567f3ee

Browse files
authored
fix: correct typos in doc comments for Engine, DebugInfo, and delegate call (#2591)
* chore: fix typo * Update test_api.rs * Update delegate.rs
1 parent 2182b3b commit 567f3ee

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/engine/src/ext.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ impl Default for ChainSpec {
8181
}
8282

8383
impl Engine {
84-
// Creates a new `Engine instance.
84+
// Creates a new `Engine` instance.
8585
pub fn new() -> Self {
8686
Self {
8787
database: Database::new(),

crates/engine/src/test_api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ impl Default for DebugInfo {
5757
}
5858

5959
impl DebugInfo {
60-
// Creates a new `RecInstance instance.
60+
// Creates a new `RecInstance` instance.
6161
pub fn new() -> Self {
6262
Self {
6363
emitted_events: Vec::new(),

crates/env/src/call/call_builder/delegate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ where
174174
///
175175
/// # Note
176176
///
177-
/// On failure this an [`ink::env::Error`][`crate::Error`] which can be handled by the
177+
/// On failure this returns an [`ink::env::Error`][`crate::Error`] which can be handled by the
178178
/// caller.
179179
pub fn try_invoke(self) -> Result<ink_primitives::MessageResult<()>, Error> {
180180
self.params().try_invoke()

0 commit comments

Comments
 (0)