Skip to content

Commit

Permalink
Remove note on memory leaks, closes #79
Browse files Browse the repository at this point in the history
  • Loading branch information
someguynamedjosh committed Feb 25, 2023
1 parent 8940b25 commit 161b63b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
4 changes: 2 additions & 2 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ouroboros_examples"
version = "0.15.6"
version = "0.15.7"
authors = ["Joshua Maros <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand All @@ -20,7 +20,7 @@ miri = []
__tokio = ["tokio"]

[dependencies]
ouroboros = { version = "0.15.6", path = "../ouroboros" }
ouroboros = { version = "0.15.7", path = "../ouroboros" }
tokio = { version = "1", features = [ "macros", "rt" ], optional = true }

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions ouroboros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ouroboros"
version = "0.15.6"
version = "0.15.7"
authors = ["Joshua Maros <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand All @@ -11,7 +11,7 @@ repository = "https://github.com/joshua-maros/ouroboros"

[dependencies]
aliasable = "0.1.3"
ouroboros_macro = { version = "0.15.6", path = "../ouroboros_macro" }
ouroboros_macro = { version = "0.15.7", path = "../ouroboros_macro" }

[features]
default = ["std"]
Expand Down
5 changes: 0 additions & 5 deletions ouroboros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,6 @@
/// }
/// ```
///
/// # Note on memory leaks
/// Currently, if a builder panics when creating a field, all previous fields will be leaked. This
/// does not cause any undefined behavior. This behavior may be resolved in the future so that all
/// previous fields are dropped when a builder panics.
///
/// # Covariance
/// Many types in Rust have a property called "covariance". In practical tearms, this means that a
/// covariant type like `Box<&'this i32>` can be used as a `Box<&'a i32>` as long as `'a` is
Expand Down
2 changes: 1 addition & 1 deletion ouroboros_macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ouroboros_macro"
version = "0.15.6"
version = "0.15.7"
authors = ["Joshua Maros <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down

0 comments on commit 161b63b

Please sign in to comment.