aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
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 cfbbe50..d43cc8b 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();