From 226761323fe9dec4861b298b3dd72459f7017347 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Mon, 14 Aug 2023 17:23:59 +0700 Subject: [PATCH] docs: Fix 2 warnings when building with rkyv. --- src/base/rkyv_wrappers.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/base/rkyv_wrappers.rs b/src/base/rkyv_wrappers.rs index ce178674..f50ae73e 100644 --- a/src/base/rkyv_wrappers.rs +++ b/src/base/rkyv_wrappers.rs @@ -1,6 +1,6 @@ //! Wrapper that allows changing the generic type of a PhantomData //! -//! Copied from https://github.com/rkyv/rkyv_contrib (MIT-Apache2 licences) which isn’t published yet. +//! Copied from (MIT-Apache2 licences) which isn’t published yet. use rkyv::{ with::{ArchiveWith, DeserializeWith, SerializeWith}, @@ -8,7 +8,7 @@ use rkyv::{ }; use std::marker::PhantomData; -/// A wrapper that allows for changing the generic type of a PhantomData. +/// A wrapper that allows for changing the generic type of a `PhantomData`. pub struct CustomPhantom { _data: PhantomData<*const NT>, }