From 867e816af2ee701e57902d712bb22610eb5b442c Mon Sep 17 00:00:00 2001 From: "John T. Wodder II" Date: Thu, 25 Jul 2024 08:51:03 -0400 Subject: [PATCH] Delint --- CHANGELOG.md | 1 + src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d7f370..43955eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) ------------------- diff --git a/src/lib.rs b/src/lib.rs index 205ffcd..a17cb35 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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 { + pub fn open(&self) -> Result { let path = if self.follow_symlinks { self.path .canonicalize()