rustdoc: PointeeSized bounds with extern types
As before, updating types using extern types to use `PointeeSized` bounds.
This commit is contained in:
parent
da47753496
commit
388a99ea26
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ impl ExtType {
|
|||
pub fn do_something(&self) {}
|
||||
}
|
||||
|
||||
pub trait Trait {}
|
||||
pub trait Trait: std::marker::PointeeSized {}
|
||||
|
||||
//@ has foreigntype/trait.Trait.html '//a[@class="foreigntype"]' 'ExtType'
|
||||
impl Trait for ExtType {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue