Make RcOrArc a documented type alias instead of a direct reexport#875
Make RcOrArc a documented type alias instead of a direct reexport#875tyt2y3 merged 1 commit intoSeaQL:masterfrom
RcOrArc a documented type alias instead of a direct reexport#875Conversation
|
nice. but apart from the docs, is there any functional difference between an alias and re-export? I am asking so as to not unknowingly introduced a breaking change |
|
sea-query$ git status
On branch rc-or-arc-type-alias
Your branch is up to date with 'origin/rc-or-arc-type-alias'.
nothing to commit, working tree cleansea-query$ cargo semver-checks --version
cargo-semver-checks 0.40.0sea-query$ cargo semver-checks --release-type patch --baseline-rev master --all-features
Cloning master
Building sea-query v0.32.3 (current)
Built [ 2.118s] (current)
Parsing sea-query v0.32.3 (current)
Parsed [ 0.065s] (current)
Building sea-query v0.32.3 (baseline)
Built [ 2.105s] (baseline)
Parsing sea-query v0.32.3 (baseline)
Parsed [ 0.062s] (baseline)
Checking sea-query v0.32.3 -> v0.32.3 (assume patch change)
Checked [ 0.224s] 148 checks: 148 pass, 0 skip
Summary no semver update required
Finished [ 13.238s] sea-queryA quick Google search found a few gotchas with type aliases (1, 2), apparently not applicable here. I think, technically this is a breaking change on nightly Rust, because my type alias doesn't have the second type parameter ( However, I wouldn't worry about this, because this breakage is really niche:
|
tyt2y3
left a comment
There was a problem hiding this comment.
thank you. I trust your judgement!
|
sorry I forgot to click merge. |
🎉 Released In 0.32.5 🎉Thank you everyone for the contribution! |
PR Info
New Features
Bug Fixes
Breaking Changes
Changes
(probably not changelog-worthy)
RcOrArca documented type alias instead of a direct reexport.It used to show full documentation for
Rc/Arc. I find it weird.Now, it documents what
RcOrArcactually is and how to control the representation.