rough-minister-58256
05/22/2018, 12:50 AMBytes
through the store -> Digest
-> Bytes
would better since it’s a more uniform access pattern.aloof-angle-91616
05/22/2018, 12:53 AMaloof-angle-91616
05/22/2018, 12:54 AMrough-minister-58256
05/22/2018, 12:54 AMrough-minister-58256
05/22/2018, 12:55 AMaloof-angle-91616
05/22/2018, 12:56 AMrough-minister-58256
05/22/2018, 12:57 AMaloof-angle-91616
05/22/2018, 12:57 AMrough-minister-58256
05/22/2018, 12:57 AMaloof-angle-91616
05/22/2018, 12:57 AMaloof-angle-91616
05/22/2018, 12:58 AMaloof-angle-91616
05/22/2018, 12:58 AMrough-minister-58256
05/22/2018, 1:00 AMrough-minister-58256
05/22/2018, 1:45 AMBoxFuture<Bytes, ExecutionError>
type def what’s the formal term for the <SomeConcreteType, SomeOther>
bit? just “type parameters”? inferring that because I think e.g. <T, A>
form are called “generic type parameters”?aloof-angle-91616
05/22/2018, 1:51 AMrough-minister-58256
05/22/2018, 1:55 AMrough-minister-58256
05/22/2018, 1:56 AMwitty-crayon-22786
05/22/2018, 2:07 AMwitty-crayon-22786
05/22/2018, 2:08 AMwitty-crayon-22786
05/22/2018, 2:08 AMBoxFuture
is generic, and those are its parameterswitty-crayon-22786
05/22/2018, 2:08 AMaloof-angle-91616
05/22/2018, 3:15 AMexterns::store_dict()
method anymore but it seems usefulaloof-angle-91616
05/22/2018, 3:15 AMaverage-vr-56795
05/22/2018, 10:14 AMstruct S<Param> {
field: Param,
}
and they’re used fn foo() -> S<String>
.
On a trait, they’re called associated types, and they have names. They’re defined:
trait T {
type Param;
}
and they’re used: fn foo() -> T<Param=String>
aloof-angle-91616
05/22/2018, 11:25 AMwarn!()
show up when called from <http://nodes.rs|nodes.rs>
? because eprintln!()
is working just fine, but nothing shows up when i try to run warn!()
or error!()
(and i'm sure i'm editing the right file etc)aloof-angle-91616
05/22/2018, 11:41 AM.pants.d/logs
, and only found an error message from a few hours agoaverage-vr-56795
05/22/2018, 12:45 PMaverage-vr-56795
05/22/2018, 2:25 PMsource
field instead of a sources
field. Any objection to just shoving that pattern into v2 parsing?average-vr-56795
05/22/2018, 3:17 PMaverage-vr-56795
05/22/2018, 4:17 PM