aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorEdvard Thörnros <edvard.thornros@gmail.com>2021-02-05 21:01:41 +0100
committerGitHub <noreply@github.com>2021-02-05 21:01:41 +0100
commitb277ecb9912f231ae96ad40020163ea2a003846b (patch)
treeb2abcfd0906e27b143b1f73a479445d8941388f9 /src/lib.rs
parent3b8eec0cbb5d7355c6d4aaa89d53ee981aa9fba0 (diff)
parent415b772d4ae5ff9308efab45449f931de811e167 (diff)
downloadsylt-b277ecb9912f231ae96ad40020163ea2a003846b.tar.gz
Merge pull request #51 from FredTheDino/document/internal
document/internal
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();