fixed documentation

This commit is contained in:
Paul Zinselmeyer 2023-12-14 15:37:03 +01:00
parent badeefad47
commit b55792619e
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View file

@ -898,7 +898,7 @@ dependencies = [
[[package]] [[package]]
name = "rebacserver" name = "rebacserver"
version = "0.1.0" version = "0.1.1"
dependencies = [ dependencies = [
"dotenvy", "dotenvy",
"env_logger", "env_logger",

View file

@ -144,7 +144,7 @@ impl<'a> ObjectOrSet<'a> {
} }
impl RelationGraph { impl RelationGraph {
/// create a new relation between from a [`RObject`] or [`RSet`] to a [`RSet`] /// create a new relation between from a [`Object`] or [`Set`] to a [`Set`]
pub async fn insert(&self, src: impl Into<ObjectOrSet<'_>>, dst: &Set) { pub async fn insert(&self, src: impl Into<ObjectOrSet<'_>>, dst: &Set) {
let src: ObjectOrSet<'_> = src.into(); let src: ObjectOrSet<'_> = src.into();
let mut verticies = self.verticies.write().await; let mut verticies = self.verticies.write().await;

View file

@ -1,6 +1,6 @@
[package] [package]
name = "rebacserver" name = "rebacserver"
version = "0.1.0" version = "0.1.1"
edition = "2021" edition = "2021"
publish = false publish = false