Compare commits

..

2 commits

Author SHA1 Message Date
d1dee45d9c
make rustdoc alias more practical 2024-04-20 16:09:26 +02:00
4a97a34afc
make lcr faster 2024-04-20 16:09:09 +02:00
2 changed files with 2 additions and 2 deletions

View file

@ -159,7 +159,7 @@
template = "https://docs.rs/{searchTerms}"; template = "https://docs.rs/{searchTerms}";
} }
]; ];
definedAliases = ["docd"]; definedAliases = ["doc"];
}; };
"rust std docs" = { "rust std docs" = {
urls = [ urls = [

View file

@ -798,7 +798,7 @@ def lcr [
] { ] {
ls **/* ls **/*
| where name ends-with $".($file_extension)" | where name ends-with $".($file_extension)"
| each {|file| | par-each {|file|
open $file.name open $file.name
| lines --skip-empty | lines --skip-empty
| length } | length }