Skip to content

Commit

Permalink
Fix article usage and minor typos (#6888)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pricstas authored Dec 20, 2024
1 parent 1719004 commit b356014
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion crates/cairo-lang-doc/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ impl<'a> DocumentationCommentParser<'a> {
.to_documentable_item_id(self.db.upcast())
}

/// Parses the path as a string to an Path Expression, which can be later used by a resolver.
/// Parses the path as a string to a Path Expression, which can be later used by a resolver.
fn prase_comment_link_path(&self, path: String) -> Option<ExprPath> {
let virtual_file = FileLongId::Virtual(VirtualFile {
parent: Default::default(),
Expand Down
2 changes: 1 addition & 1 deletion crates/cairo-lang-executable/src/executable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ impl Executable {
}
}

/// Information about a executable entrypoint.
/// Information about an executable entrypoint.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ExecutableEntryPoint {
/// The used builtins of the function.
Expand Down
2 changes: 1 addition & 1 deletion crates/cairo-lang-filesystem/src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ pub struct ExperimentalFeaturesConfig {
pub associated_item_constraints: bool,
/// Allows using coupon types and coupon calls.
///
/// Each function has a associated `Coupon` type, which represents paying the cost of the
/// Each function has an associated `Coupon` type, which represents paying the cost of the
/// function before calling it.
#[serde(default)]
pub coupons: bool,
Expand Down
2 changes: 1 addition & 1 deletion crates/cairo-lang-lowering/src/lower/refs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ enum Value {
Scattered(Box<Scattered>),
}

/// A value for an non-stored member path. Recursively holds the [Value] for the members.
/// A value for a non-stored member path. Recursively holds the [Value] for the members.
#[derive(Clone, Debug, DebugWithDb)]
#[debug_db(ExprFormatter<'a>)]
struct Scattered {
Expand Down
2 changes: 1 addition & 1 deletion crates/cairo-lang-sierra-generator/src/ap_tracking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ impl Analyzer<'_> for ApTrackingAnalysisContext {
infos: impl Iterator<Item = Self::Info>,
) -> Self::Info {
// Find all the variables that are alive after this block convergence.
// A variable is alive after a converges if it is a alive in some block that is reachable
// A variable is alive after a converges if it is an alive in some block that is reachable
// from it by any arm.
let mut vars = OrderedHashMap::<VariableId, OrderedHashSet<BlockId>>::default();
let mut any_merges = false;
Expand Down
2 changes: 1 addition & 1 deletion crates/cairo-lang-starknet/src/plugin/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ pub fn get_starknet_event_variants(
module_kind.to_str_capital()
),
));
// The attribute is missing, but this counts as a event - we can't create another
// The attribute is missing, but this counts as an event - we can't create another
// (empty) event.
Some(variants)
}
Expand Down

0 comments on commit b356014

Please sign in to comment.