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

Improve some documentation #2188

Merged
merged 15 commits into from
Feb 2, 2024
Prev Previous commit
Next Next commit
Fix doc comment
hannobraun committed Feb 2, 2024
commit a52a7d26e3d8fdb15743749c473add0c46fa1668
2 changes: 1 addition & 1 deletion crates/fj-core/src/operations/replace/mod.rs
Original file line number Diff line number Diff line change
@@ -154,7 +154,7 @@ impl<Original, Updated> ReplaceOutput<Original, Updated> {
}

impl<T> ReplaceOutput<T, T> {
/// Return the original object, or insert the updated on and return handle
/// Return the wrapped object, whether it's the original or was updated
pub fn into_inner(self) -> T {
match self {
Self::Original(inner) => inner,