There was an error while loading. Please reload this page.
skip_signature
1 parent 89c8c6e commit 34d5215Copy full SHA for 34d5215
1 file changed
vm/src/builtins/pytype.rs
@@ -528,11 +528,6 @@ impl PyType {
528
}
529
530
const SIGNATURE_END_MARKER: &str = ")\n--\n\n";
531
-fn skip_signature(doc: &str) -> Option<&str> {
532
- doc.find(SIGNATURE_END_MARKER)
533
- .map(|index| &doc[index + SIGNATURE_END_MARKER.len()..])
534
-}
535
-
536
fn get_signature(doc: &str) -> Option<&str> {
537
doc.find(SIGNATURE_END_MARKER)
538
.map(|index| &doc[..index + 1])
0 commit comments