Skip to content

Conversation

@nyonson
Copy link
Collaborator

@nyonson nyonson commented Jan 2, 2026

Follow up for the bug found by @apoelstra in #60 (comment). I thought the recommended drop guard pattern turned out pretty slick, if a little verbose.

@nyonson
Copy link
Collaborator Author

nyonson commented Jan 2, 2026

First jujutsu-based patch, 🤞

Copy link
Member

@tcharding tcharding left a comment

Choose a reason for hiding this comment

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

ACK 0dea2fd

Comment on lines 23 to 24
backup_path: std::path::PathBuf,
restore_path: std::path::PathBuf,
Copy link
Member

Choose a reason for hiding this comment

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

nit: Why not import PathBuf?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No good reason, let me update that.

@nyonson nyonson force-pushed the restore-lock-file branch from 0dea2fd to 9749597 Compare January 5, 2026 17:15
@nyonson
Copy link
Collaborator Author

nyonson commented Jan 5, 2026

9749597: add PathBuf import

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