Skip to content

Commit e72f982

Browse files
committed
Initial commit
0 parents  commit e72f982

File tree

4 files changed

+22
-0
lines changed

4 files changed

+22
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
target
2+
Cargo.lock

Cargo.toml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[package]
2+
name = "distance"
3+
version = "0.1.0"
4+
authors = ["Marcus Brummer <mbrlabs7@gmail.com>"]
5+
6+
[dependencies]

src/levenshtein.rs

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
pub fn levenshtein(x: &str, y: &str) -> i32 {
2+
return 7;
3+
}
4+
5+
#[cfg(test)]
6+
mod tests {
7+
#[test]
8+
fn test() {
9+
10+
}
11+
}

src/lib.rs

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
pub use self::levenshtein::*;
2+
3+
mod levenshtein;

0 commit comments

Comments
 (0)