Skip to content

Commit

Permalink
Merge pull request #20 from Cakefish/asset-ref-fix
Browse files Browse the repository at this point in the history
Fix asset ref
  • Loading branch information
IsseW authored Feb 23, 2024
2 parents 697ee23 + 9acbcaf commit 21c32bf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion bauble/src/value/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,6 @@ impl<C: AssetContext> Symbols<C> {

item.into_owned()
.to_asset()
.map(|_| path.to_string())
.ok_or(ConversionError::ExpectedAsset.spanned(path.span))
}

Expand Down
2 changes: 1 addition & 1 deletion bauble_macro_util/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ pub fn derive_bauble_derive_input(
true => (
quote! {
::bauble::TypeInfo::Flatten(&[
#(&<#flattened_tys as ::bauble::FromBauble>::INFO,)*
#(&<#flattened_tys as ::bauble::FromBauble<#lifetime, #allocator>>::INFO,)*
])
},
quote! {
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2023-08-20"

0 comments on commit 21c32bf

Please sign in to comment.