Skip to content

Commit 0696147

Browse files
committed
chore: remove unused sample function
1 parent fb35b6b commit 0696147

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/lib.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ mod stack_graphs_wrapper;
55

66
use classes::{FileEntry, FileStatus, Indexer, Language, Position, Querier};
77

8-
/// Formats the sum of two numbers as string.
9-
#[pyfunction]
10-
fn sum_as_string(a: usize, b: usize) -> PyResult<String> {
11-
Ok((a + b).to_string())
12-
}
138
/// Indexes the given paths into stack graphs, and stores the results in the given database.
149
#[pyfunction]
1510
fn index(paths: Vec<String>, db_path: String, language: Language) -> PyResult<()> {
@@ -30,7 +25,6 @@ fn index(paths: Vec<String>, db_path: String, language: Language) -> PyResult<()
3025
/// A Python module implemented in Rust.
3126
#[pymodule]
3227
fn stack_graphs_python(_py: Python, m: &PyModule) -> PyResult<()> {
33-
m.add_function(wrap_pyfunction!(sum_as_string, m)?)?;
3428
m.add_function(wrap_pyfunction!(index, m)?)?;
3529
m.add_class::<Position>()?;
3630
m.add_class::<Language>()?;

0 commit comments

Comments
 (0)