jaemk / migrant_lib

Embeddable migration management
23 stars 8 forks source link

replace `Statements` with `Cow` #14

Closed vemoo closed 5 years ago

vemoo commented 5 years ago

When I implemented this https://github.com/jaemk/migrant_lib/pull/10 pull request I wasn't aware that there's a type for that use case in the standard library. This replaces Statements with Cow<'static, str> which should be easier to understand without having to see the implementation o Statements.

jaemk commented 5 years ago

nice, thanks!