Skip to content

Commit

Permalink
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scopegraphs/src/completeness/mod.rs
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
//! additions to the scope graph.
//! This allows safe interleaving of name resolution and scope graph construction.
//!
//! The main trait of this module is [`Completeness`]. An instance of this trait should be passed
//! The main trait of this module is [`Completeness`]. An implementation of this trait should be passed
//! to [`ScopeGraph::new`](super::ScopeGraph::new) to obtain a scope graph instance.
//!
//! Currently, the module contains three safe implementations.
2 changes: 1 addition & 1 deletion scopegraphs/src/lib.rs
Original file line number Diff line number Diff line change
@@ -103,7 +103,7 @@ pub use scopegraphs_macros::Label;
/// ```
pub use scopegraphs_macros::compile_regex;

/// Define a [label ordering](crate::concepts::label_ordering), an instance of [`LabelOrder`](crate::resolve::LabelOrder)
/// Define a [label ordering](crate::concepts::label_ordering), an implementation of [`LabelOrder`](crate::resolve::LabelOrder)
///
/// Syntax:
/// ```grammar
3 changes: 2 additions & 1 deletion scopegraphs/src/storage.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
use bumpalo::Bump;
use std::fmt::{Debug, Formatter};

/// Required to construct a [`ScopeGraph`](crate::ScopeGraph).
/// Holds data for a [`ScopeGraph`](crate::ScopeGraph). Required to construct a `ScopeGraph`.
///
/// A `ScopeGraph` will use the storage object to allocate in,
/// and lifetimes of items in the scope graph will be tied to an instance of `Storage`.
#[derive(Default)]

0 comments on commit 3f8457e

Please sign in to comment.