Skip to content

Commit

Permalink
Delint
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Jul 25, 2024
1 parent a6a7149 commit 867e816
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
v0.3.0 (in development)
-----------------------
- Changed the receiver of `InPlace::open()` from `&mut self` to `&self`

v0.2.0 (2023-12-22)
-------------------
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ impl InPlace {
///
/// See the documentation for the variants of [`InPlaceErrorKind`] for the
/// operations & checks that this method can fail on.
pub fn open(&mut self) -> Result<InPlaceFile, InPlaceError> {
pub fn open(&self) -> Result<InPlaceFile, InPlaceError> {
let path = if self.follow_symlinks {
self.path
.canonicalize()
Expand Down

0 comments on commit 867e816

Please sign in to comment.