Skip to content

Commit

Permalink
Fix documentation grammar and consistency issues (#7041)
Browse files Browse the repository at this point in the history
Co-authored-by: PixelPilot <[email protected]>
  • Loading branch information
HubertIGL and PixelPil0t1 authored Jan 16, 2025
1 parent eb411f1 commit 739ecc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion corelib/src/result.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ pub impl ResultTraitImpl<T, E> of ResultTrait<T, E> {
}
}

/// Returns the contained `Ok`` value or `Default::<T>::default()`.
/// Returns the contained `Ok` value or `Default::<T>::default()`.
///
/// # Examples
///
Expand Down
2 changes: 1 addition & 1 deletion crates/cairo-lang-compiler/src/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub enum ProjectError {
LoadProjectError(DeserializationError),
}

/// Setup to 'db' to compile the file at the given path.
/// Set up the 'db' to compile the file at the given path.
/// Returns the id of the generated crate.
pub fn setup_single_file_project(
db: &mut dyn SemanticGroup,
Expand Down

0 comments on commit 739ecc2

Please sign in to comment.