Árpád Goretity 

Results 13 issues of Árpád Goretity 

Hey, and thanks for making this! I've seen that a bunch of public-facing APIs, such as the main entry point to text embeddings, [`TextEmbedding::embed()`](https://docs.rs/fastembed/latest/fastembed/struct.TextEmbedding.html#method.embed), and some utilities e.g. [`read_file_to_bytes()`](https://docs.rs/fastembed/latest/fastembed/fn.read_file_to_bytes.html) (btw,...

The `ToTokens` impl was previously abused as a proxy for `Spanned::span()` (through the blanket impl). This meant that whether or not the inner value was `ToTokens`, this wrapper always produced...

I just stumbled upon this: ``` impl ToTokens for SpannedValue { fn to_tokens(&self, tokens: &mut TokenStream) { let mut group = proc_macro2::Group::new(proc_macro2::Delimiter::None, Default::default()); group.set_span(self.span); tokens.append(group); } } ``` I.e., `SpannedValue`...