Skip to content

Commit

Permalink
fix(queries): fix documentation typos
Browse files Browse the repository at this point in the history
Signed-off-by: ⭐️NINIKA⭐️ <[email protected]>
  • Loading branch information
DCNick3 committed Nov 22, 2024
1 parent ae689dc commit b729059
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions crates/iroha_data_model/src/query/dsl/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
//! # use iroha_data_model::{domain::DomainId, account::AccountId, query::dsl::CompoundPredicate};
//! let filter_by_domain_name = CompoundPredicate::<AccountId>::build(|account_id| account_id.domain.name.eq("wonderland"));
//! ```
//! For selectors, they have to return a type implementing the [1IntoSelectorTuple1] trait.
//! For selectors, they have to return a type implementing the [`IntoSelectorTuple`] trait.
//!
//! It can be either a standalone prototype or a tuple of prototypes.
//!
Expand Down Expand Up @@ -64,9 +64,11 @@
//!
//! # Compound predicates and selectors
//!
//! Normally a predicates has just a single condition on a single field.
//! Normally a predicate has just a single condition on a single field.
//! [`CompoundPredicate`] allows composition of multiple predicates using logical operators.
//! This is the type that is actually
//! This is the type that is actually sent when a query is requested.
//!
//! A selector also selects just a single field. To allow selecting multiple fields, [`SelectorTuple`] is used in queries.
#[cfg(not(feature = "std"))]
use alloc::{format, string::String, vec::Vec};
Expand Down

0 comments on commit b729059

Please sign in to comment.