Fix getting parent dir when run in rust-analyzer #1

Open
opened 2025-11-07 22:43:51 +00:00 by niklas · 0 comments
Owner

embed-dir/src/lib.rs Lines 39 to 40 in 1ecada57cc
// HACK: when running in rust-analyzer i can't seem to get the parent dir.
return TokenStream::from(generate_byte_impl(struct_name, Vec::new()));

https://git.kapelle.org/niklas/embed-dir/src/commit/1ecada57ccd13a3bb61a24c350fc54d4054b6249/src/lib.rs#L39-L40
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: niklas/embed-dir#1