If you look at the full crate-private definition, you can observe that R is the resource type and M is the memoizer type (it's apparently passed to the formatter – I don't use fluent_bundle but being generic over the memoizer doesn't seem surprising.)