Skip to content

Improve tutorial.md to reference freenet-email app directly #1049

Open
@sanity

Description

@sanity

Currently the examples in the tutorial leave out parts of the code:

struct Posts(...)

impl Posts {
  fn add_post(&mut self, post: Post) { ... }
}

struct Post(...)

The tutorial should instead reference a working example, most likely the freenet-email-app. mdbook has useful functionality for including portions of files from elsewhere in the repo. Using this will ensure that the documentation stays in sync with the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-documentationArea: Improvements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions