Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix article usage and minor typos #6888

Merged
merged 6 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading