aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorEdvard Thörnros <edvard.thornros@gmail.com>2021-02-05 19:29:31 +0100
committerEdvard Thörnros <edvard.thornros@gmail.com>2021-02-05 19:57:12 +0100
commit6aacc6ffdba279b62768040fb0022c529833ec44 (patch)
tree50ed46e0a3040c758b314e8961d8b21bd008818d /src/lib.rs
parenta82faea38dd3aefe9ae5634a0971dcc18d36bea4 (diff)
downloadsylt-6aacc6ffdba279b62768040fb0022c529833ec44.tar.gz
comment lib.rs
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index c1280b3..ca8b728 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -614,6 +614,7 @@ impl Block {
}
}
+ /// Used to create empty functions.
pub fn empty_with_type(ty: &Type) -> Self {
let mut block = Block::new("/empty/", Path::new(""), 0);
block.ty = ty.clone();