Skip to content

Commit f44872c

Browse files
committed
feat: add module
1 parent 02c723f commit f44872c

File tree

4 files changed

+21
-0
lines changed

4 files changed

+21
-0
lines changed

Cargo.lock

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ members = [
2828
"find_duplicate_file_in_system",
2929
"minimum_moves_to_equal_elements_ii",
3030
"binary_tree_level_order_traveral",
31+
"find_and_replace_pattern",
3132
]

find_and_replace_pattern/Cargo.toml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[package]
2+
name = "find_and_replace_pattern"
3+
version = "0.1.0"
4+
authors = ["Ryan Li <conbas2019@gmail.com>"]
5+
edition = "2018"
6+
7+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
8+
9+
[dependencies]

find_and_replace_pattern/src/lib.rs

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#[cfg(test)]
2+
mod tests {
3+
#[test]
4+
fn it_works() {
5+
assert_eq!(2 + 2, 4);
6+
}
7+
}

0 commit comments

Comments
 (0)