Skip to content

Commit 7f742fc

Browse files
committed
release: 0.6.0
2 parents ce769ae + 57eec90 commit 7f742fc

File tree

4 files changed

+17
-14
lines changed

4 files changed

+17
-14
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33

44

5+
## [0.6.0](https://github.com/Blobfolio/oxford_join/releases/tag/v0.6.0) - 2025-06-01
6+
7+
### Changed
8+
9+
* Bump MSRV to `1.87`
10+
11+
### Breaking
12+
13+
* Remove `Deref` for `Conjunction`
14+
15+
16+
517
## [0.5.1](https://github.com/Blobfolio/oxford_join/releases/tag/v0.5.1) - 2025-05-23
618

719
### Changed

CREDITS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Project Dependencies
22
Package: oxford_join
3-
Version: 0.5.1
4-
Generated: 2025-05-24 06:41:19 UTC
3+
Version: 0.6.0
4+
Generated: 2025-06-01 06:47:55 UTC
55

66
This project has no dependencies.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
22
name = "oxford_join"
3-
version = "0.5.1"
3+
version = "0.6.0"
44
authors = ["Josh Stoik <[email protected]>"]
55
edition = "2024"
6-
rust-version = "1.85"
6+
rust-version = "1.87"
77
description = "Join string slices with Oxford Commas!"
88
license = "WTFPL"
99
repository = "https://github.com/Blobfolio/oxford_join"

src/lib.rs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,7 @@ use alloc::{
134134
},
135135
string::String,
136136
};
137-
use core::{
138-
borrow::Borrow,
139-
ops::Deref,
140-
};
137+
use core::borrow::Borrow;
141138

142139

143140

@@ -198,12 +195,6 @@ impl Borrow<str> for Conjunction<'_> {
198195
fn borrow(&self) -> &str { self.as_str() }
199196
}
200197

201-
impl Deref for Conjunction<'_> {
202-
type Target = str;
203-
#[inline]
204-
fn deref(&self) -> &Self::Target { self.as_str() }
205-
}
206-
207198
impl core::fmt::Display for Conjunction<'_> {
208199
#[inline]
209200
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {

0 commit comments

Comments
 (0)