@@ -1028,7 +1028,8 @@ impl DocFolder for Cache {
|
||||
clean::Item{ attrs, inner: clean::ImplItem(i), .. } => {
|
||||
use clean::{Primitive, Vector, ResolvedPath, BorrowedRef};
|
||||
use clean::PrimitiveType::{Array, Slice, PrimitiveTuple};
|
||||
use clean::{FixedVector, Tuple};
|
||||
use clean::PrimitiveType::{PrimitiveRawPointer};
|
||||
use clean::{FixedVector, Tuple, RawPointer};
|
||||
|
||||
// extract relevant documentation for this impl
|
||||
let dox = match attrs.into_iter().find(|a| {
|
||||
@@ -1064,8 +1065,8 @@ impl DocFolder for Cache {
|
||||
Some(ast_util::local_def(Array.to_node_id()))
|
||||
}
|
||||
|
||||
// In a DST world, we may only need Vector, but for now we
|
||||
// also pick up borrowed references
|
||||
// In a DST world, we may only need Vector, but for
|
||||
// now we also pick up borrowed references
|
||||
Vector(..) |
|
||||
BorrowedRef{ type_: box Vector(..), .. } =>
|
||||
{
|
||||
@@ -1077,6 +1078,11 @@ impl DocFolder for Cache {
|
||||
Some(ast_util::local_def(id))
|
||||
}
|
||||
|
||||
RawPointer(..) => {
|
||||
let id = PrimitiveRawPointer.to_node_id();
|
||||
Some(ast_util::local_def(id))
|
||||
}
|
||||
|
||||
_ => None,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user