From 1be3e0ac103f306ad3dbd059f1452ffa31589b47 Mon Sep 17 00:00:00 2001
From: Jesse Wright <63333554+jeswr@users.noreply.github.com>
Date: Tue, 20 Feb 2024 11:36:34 +0000
Subject: [PATCH] chore: fix triple casting
---
lib/oxrdf/src/triple.rs | 34 ++++++++++++++++++++++++++++++----
1 file changed, 30 insertions(+), 4 deletions(-)
diff --git a/lib/oxrdf/src/triple.rs b/lib/oxrdf/src/triple.rs
index a4699103..32c22f28 100644
--- a/lib/oxrdf/src/triple.rs
+++ b/lib/oxrdf/src/triple.rs
@@ -754,11 +754,14 @@ impl Triple {
/// Builds an RDF [triple](https://www.w3.org/TR/rdf11-concepts/#dfn-rdf-triple).
#[inline]
pub fn new_maybe(
- subject: impl Into