mirror of
https://github.com/pfzetto/rebacs
synced 2024-12-22 06:39:32 +01:00
fixed documentation
This commit is contained in:
parent
badeefad47
commit
b55792619e
3 changed files with 3 additions and 3 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -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",
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue