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

Minor fixes to docs and ReconcileError message #14

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nokome
Copy link
Contributor

@nokome nokome commented Feb 7, 2023

This includes some minor changes to documentation, mostly fixing typos, but in some cases attempting to improve clarity. There is also one fix for a spelling mistake in an error message.

@@ -10,6 +10,8 @@ mod map;
///
/// There are no required methods on this trait. Instead implementors should choose the `hydrate_*`
/// method which matches the automerge types they wish to hydrate.
///
/// For example, for a Rust newtype based on `String`, implement the `hydrate_string` method,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line should end with a colon instead of a comma.

@@ -936,7 +936,7 @@ pub fn reconcile_insert<R: Reconcile>(
/// Hydrate the key `inner` from inside the object `outer`
///
/// This is useful when you are attempting to hydrate the key of an object. Imagine you have a
/// structure like this
/// structure like this,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants