Skip to content

Commit

Permalink
remove tutor
Browse files Browse the repository at this point in the history
  • Loading branch information
jdonszelmann committed Oct 23, 2024
1 parent 4858bf9 commit ff97ea7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 41 deletions.
14 changes: 0 additions & 14 deletions scopegraphs/src/concepts/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ use scopegraphs_render_docs::render_scopegraphs;
/// # use completeness::{ImplicitClose};
/// # use resolve::{DataWellformedness, Resolve, ResolvedPath};
/// # use render::{RenderSettings, RenderScopeData, RenderScopeLabel};
// {tutor name "empty-label"}
/// # #[derive(Label, Hash, PartialEq, Eq, Debug, Clone, Copy)]
/// # enum Lbl {}
/// #
Expand All @@ -87,12 +86,9 @@ use scopegraphs_render_docs::render_scopegraphs;
/// # }
/// # }
/// #
// {tutor end name }
// {tutor name "empty-data"}
/// # #[derive(Hash, PartialEq, Eq, Debug, Clone)]
/// # enum Data {}
/// # impl RenderScopeData for Data {}
// {tutor end name }
/// let storage = Storage::new();
///
/// let sg: ScopeGraph<Lbl, Data, ImplicitClose<Lbl>> = ScopeGraph::new(&storage, ImplicitClose::default());
Expand All @@ -106,7 +102,6 @@ use scopegraphs_render_docs::render_scopegraphs;
/// # use completeness::{ImplicitClose};
/// # use resolve::{DataWellformedness, Resolve, ResolvedPath};
/// # use render::{RenderSettings, RenderScopeData, RenderScopeLabel};
// {tutor inserted "empty-label"}
/// # #[derive(Label, Hash, PartialEq, Eq, Debug, Clone, Copy)]
/// # enum Lbl {}
/// #
Expand All @@ -118,12 +113,9 @@ use scopegraphs_render_docs::render_scopegraphs;
/// # }
/// # }
/// #
// {tutor end insert}
// {tutor inserted "empty-data"}
/// # #[derive(Hash, PartialEq, Eq, Debug, Clone)]
/// # enum Data {}
/// # impl RenderScopeData for Data {}
// {tutor end insert}
/// type MyScopeGraph<'s> = ScopeGraph<'s, Lbl, Data, ImplicitClose<Lbl>>;
///
/// let storage = Storage::new();
Expand Down Expand Up @@ -456,15 +448,13 @@ pub mod scope_data {}
/// # fn definition(&self) -> bool {
/// # matches!(self, Self::Variable {..})
/// # }
// {tutor name "explicit-relabel-global"}
/// # fn explicit_relabel(&self, scope_id: usize) -> Option<String> {
/// # match scope_id {
/// # 0 => Some("global".to_string()),
/// # 1 => Some("foo".to_string()),
/// # _ => None
/// # }
/// # }
// {tutor end name }
/// # }
/// #
/// # impl RenderScopeLabel for Lbl {
Expand Down Expand Up @@ -590,15 +580,13 @@ pub mod scope_data {}
/// # fn definition(&self) -> bool {
/// # matches!(self, Self::Variable {..})
/// # }
// {tutor inserted "explicit-relabel-global"}
/// # fn explicit_relabel(&self, scope_id: usize) -> Option<String> {
/// # match scope_id {
/// # 0 => Some("global".to_string()),
/// # 1 => Some("foo".to_string()),
/// # _ => None
/// # }
/// # }
// {tutor end insert}
/// # }
/// #
/// # impl RenderScopeLabel for Lbl {
Expand Down Expand Up @@ -690,15 +678,13 @@ pub mod scope_data {}
/// # fn definition(&self) -> bool {
/// # matches!(self, Self::Variable {..})
/// # }
// {tutor inserted "explicit-relabel-global"}
/// # fn explicit_relabel(&self, scope_id: usize) -> Option<String> {
/// # match scope_id {
/// # 0 => Some("global".to_string()),
/// # 1 => Some("foo".to_string()),
/// # _ => None
/// # }
/// # }
// {tutor end insert}
/// # }
/// #
/// # impl RenderScopeLabel for Lbl {
Expand Down
2 changes: 0 additions & 2 deletions scopegraphs/src/examples/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ pub mod patterns;
#[render_scopegraphs]
/// An example of a small language with records (structs) and name resolution of fields.
///
// {tutor name "records-example-full"}
/// ```
/// #
/// ```
// {tutor end name}
pub mod records {}
25 changes: 0 additions & 25 deletions tutor.toml

This file was deleted.

0 comments on commit ff97ea7

Please sign in to comment.