Closed M1cha closed 1 year ago
Thank you, I will just check one time locally and merge it.
Sorry for this but I think this still works only on nightly version of rust. As mentioned here it will work on only on nightly version when used with procedural macro context. try printing out start
and end
values on the stable channel of rust it will always return value 0. so it will fail the test case.
you're right. It looks like I was testing stuff without whitespace only. You could actually just force stable users to quote their stuff to work around that :thinking:
stable
as one feature where we can use style quoted by string. We can just pass the whole string to the build_style function here.I agree that - as is - this PR doesn't work. I'm using nightly now :shrug:
get
: We're using proc_macro2 already so I don't see any harm in using it's implemenation for that.extend_one
: The nightly implemenation just callsextend(Some(x))
anyway so there's no use in using it until it's actually stable.