diff options
Diffstat (limited to 'third_party/git/t/t4018/rust-trait')
-rw-r--r-- | third_party/git/t/t4018/rust-trait | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/git/t/t4018/rust-trait b/third_party/git/t/t4018/rust-trait new file mode 100644 index 000000000000..ea397f09ed16 --- /dev/null +++ b/third_party/git/t/t4018/rust-trait @@ -0,0 +1,5 @@ +unsafe trait RIGHT<T> { + fn len(&self) -> u32; + fn ChangeMe(&self, n: u32) -> T; + fn iter<F>(&self, f: F) where F: Fn(T); +} |